Warning: Permanently added '3.87.125.218' (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/10656512-fedora-44-x86_64 --chroot fedora-44-x86_64 Version: 1.8 PID: 9428 Logging PID: 9430 Task: {'allow_user_ssh': False, 'appstream': False, 'background': False, 'build_id': 10656512, 'buildroot_pkgs': [], 'chroot': 'fedora-44-x86_64', 'enable_net': False, 'fedora_review': False, 'git_hash': '86a5e01c23a368110ddc6d342a0b14e062258c11', 'git_repo': 'https://copr-dist-git.fedorainfracloud.org/git/mhough/neurofedora/libroadrunner', 'isolation': 'default', 'memory_reqs': 2048, 'package_name': 'libroadrunner', 'package_version': '2.9.2-2', 'project_dirname': 'neurofedora', 'project_name': 'neurofedora', 'project_owner': 'mhough', 'repo_priority': None, 'repos': [{'baseurl': 'https://download.copr.fedorainfracloud.org/results/mhough/neurofedora/fedora-44-x86_64/', 'id': 'copr_base', 'name': 'Copr repository', 'priority': None}], 'sandbox': 'mhough/neurofedora--mhough', 'source_json': {}, 'source_type': None, 'ssh_public_keys': None, 'storage': 0, 'submitter': 'mhough', 'tags': [], 'task_id': '10656512-fedora-44-x86_64', 'timeout': 108000, 'uses_devel_repo': False, 'with_opts': [], 'without_opts': []} Running: git clone https://copr-dist-git.fedorainfracloud.org/git/mhough/neurofedora/libroadrunner /var/lib/copr-rpmbuild/workspace/workdir-aiwp7402/libroadrunner --depth 500 --no-single-branch --recursive cmd: ['git', 'clone', 'https://copr-dist-git.fedorainfracloud.org/git/mhough/neurofedora/libroadrunner', '/var/lib/copr-rpmbuild/workspace/workdir-aiwp7402/libroadrunner', '--depth', '500', '--no-single-branch', '--recursive'] cwd: . rc: 0 stdout: stderr: Cloning into '/var/lib/copr-rpmbuild/workspace/workdir-aiwp7402/libroadrunner'... Running: git checkout 86a5e01c23a368110ddc6d342a0b14e062258c11 -- cmd: ['git', 'checkout', '86a5e01c23a368110ddc6d342a0b14e062258c11', '--'] cwd: /var/lib/copr-rpmbuild/workspace/workdir-aiwp7402/libroadrunner rc: 0 stdout: stderr: Note: switching to '86a5e01c23a368110ddc6d342a0b14e062258c11'. 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 86a5e01 automatic import of libroadrunner Running: dist-git-client sources cmd: ['dist-git-client', 'sources'] cwd: /var/lib/copr-rpmbuild/workspace/workdir-aiwp7402/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.9.2.tar.gz INFO: Reading stdout from command: curl --help all INFO: Calling: curl -H Pragma: -H 'Accept-Encoding: identity' -o libroadrunner-2.9.2.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/neurofedora/libroadrunner/libroadrunner-2.9.2.tar.gz/md5/53667e65e9b7b57851ba0c1389e8c978/libroadrunner-2.9.2.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 25.21M 100 25.21M 0 0 414.6M 0 0 INFO: Reading stdout from command: md5sum libroadrunner-2.9.2.tar.gz tail: /var/lib/copr-rpmbuild/main.log: file truncated Running (timeout=108000): unbuffer mock --spec /var/lib/copr-rpmbuild/workspace/workdir-aiwp7402/libroadrunner/libroadrunner.spec --sources /var/lib/copr-rpmbuild/workspace/workdir-aiwp7402/libroadrunner --resultdir /var/lib/copr-rpmbuild/results --uniqueext 1782618466.663788 -r /var/lib/copr-rpmbuild/results/configs/child.cfg INFO: mock.py version 6.7 starting (python version = 3.14.5, NVR = mock-6.7-1.fc44), args: /usr/libexec/mock/mock --spec /var/lib/copr-rpmbuild/workspace/workdir-aiwp7402/libroadrunner/libroadrunner.spec --sources /var/lib/copr-rpmbuild/workspace/workdir-aiwp7402/libroadrunner --resultdir /var/lib/copr-rpmbuild/results --uniqueext 1782618466.663788 -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-aiwp7402/libroadrunner/libroadrunner.spec) Config(fedora-44-x86_64) Start: clean chroot Finish: clean chroot Mock Version: 6.7 INFO: Mock Version: 6.7 Start(bootstrap): chroot init INFO: mounting tmpfs at /var/lib/mock/fedora-44-x86_64-bootstrap-1782618466.663788/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:44 INFO: Pulling image: registry.fedoraproject.org/fedora:44 INFO: Tagging container image as mock-bootstrap-b399b01b-8e31-4854-b7fc-577c06075d5d INFO: Checking that c0023cd0c061f112b8f4f34b3314c73836ba4eb1629c4b88ca3224820f2e1d2f image matches host's architecture INFO: Copy content of container c0023cd0c061f112b8f4f34b3314c73836ba4eb1629c4b88ca3224820f2e1d2f to /var/lib/mock/fedora-44-x86_64-bootstrap-1782618466.663788/root INFO: mounting c0023cd0c061f112b8f4f34b3314c73836ba4eb1629c4b88ca3224820f2e1d2f with podman image mount INFO: image c0023cd0c061f112b8f4f34b3314c73836ba4eb1629c4b88ca3224820f2e1d2f as /var/lib/containers/storage/overlay/16d0d0a48fb6410239318e2e44ac3246d510ccf44b8b8e1036cd8b1e065b5825/merged INFO: umounting image c0023cd0c061f112b8f4f34b3314c73836ba4eb1629c4b88ca3224820f2e1d2f (/var/lib/containers/storage/overlay/16d0d0a48fb6410239318e2e44ac3246d510ccf44b8b8e1036cd8b1e065b5825/merged) with podman image umount INFO: Removing image mock-bootstrap-b399b01b-8e31-4854-b7fc-577c06075d5d 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-44-x86_64-1782618466.663788/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.0.1-2.fc44.x86_64 rpm-sequoia-1.10.2-2.fc44.x86_64 dnf5-5.4.2.1-1.fc44.x86_64 dnf5-plugins-5.4.2.1-1.fc44.x86_64 Start: installing minimal buildroot with dnf5 Updating and loading repositories: Copr repository 100% | 1.0 MiB/s | 447.4 KiB | 00m00s updates 100% | 14.9 MiB/s | 9.5 MiB | 00m01s fedora 100% | 43.5 MiB/s | 36.7 MiB | 00m01s Repositories loaded. Package Arch Version Repository Size Installing group/module packages: bash x86_64 0:5.3.9-3.fc44 fedora 8.5 MiB bzip2 x86_64 0:1.0.8-23.fc44 fedora 95.0 KiB coreutils x86_64 0:9.10-4.fc44 updates 5.7 MiB cpio x86_64 0:2.15-9.fc44 fedora 1.1 MiB diffutils x86_64 0:3.12-5.fc44 fedora 1.6 MiB fedora-release-common noarch 0:44-18 updates 20.6 KiB findutils x86_64 1:4.10.0-7.fc44 fedora 1.9 MiB gawk x86_64 0:5.3.2-3.fc44 fedora 1.8 MiB glibc-minimal-langpack x86_64 0:2.43-6.fc44 updates 0.0 B grep x86_64 0:3.12-3.fc44 fedora 1.0 MiB gzip x86_64 0:1.14-2.fc44 fedora 401.6 KiB info x86_64 0:7.2-9.fc44 fedora 365.6 KiB patch x86_64 0:2.8-4.fc44 fedora 226.6 KiB redhat-rpm-config noarch 0:344-2.fc44 updates 183.7 KiB rpm-build x86_64 0:6.0.1-2.fc44 fedora 294.6 KiB sed x86_64 0:4.9-7.fc44 fedora 857.2 KiB shadow-utils x86_64 2:4.19.0-7.fc44 updates 4.0 MiB tar x86_64 2:1.35-8.fc44 fedora 3.0 MiB unzip x86_64 0:6.0-69.fc44 fedora 445.8 KiB util-linux x86_64 0:2.41.5-1.fc44 updates 3.5 MiB which x86_64 0:2.25-1.fc44 updates 83.6 KiB xz x86_64 1:5.8.2-2.fc44 fedora 1.3 MiB Installing dependencies: R-srpm-macros noarch 0:1.3.7-2.fc44 updates 3.5 KiB add-determinism x86_64 0:0.7.3-2.fc44 updates 2.2 MiB alternatives x86_64 0:1.33-5.fc44 fedora 62.1 KiB ansible-srpm-macros noarch 0:1-20.1.fc44 fedora 35.7 KiB audit-libs x86_64 0:4.1.4-1.fc44 fedora 390.5 KiB binutils x86_64 0:2.46-3.fc44 updates 27.2 MiB build-reproducibility-srpm-macros noarch 0:0.7.3-2.fc44 updates 1.2 KiB bzip2-libs x86_64 0:1.0.8-23.fc44 fedora 80.5 KiB ca-certificates noarch 0:2025.2.80_v9.0.304-7.fc44 updates 2.7 MiB cmake-srpm-macros noarch 0:4.3.0-1.fc44 fedora 524.0 B coreutils-common x86_64 0:9.10-4.fc44 updates 10.7 MiB crypto-policies noarch 0:20251128-3.git19878fe.fc44 fedora 132.6 KiB curl x86_64 0:8.18.0-6.fc44 updates 480.0 KiB cyrus-sasl-lib x86_64 0:2.1.28-35.fc44 fedora 2.3 MiB debugedit x86_64 0:5.3-2.fc44 updates 220.8 KiB dwz x86_64 0:0.16-3.fc44 fedora 290.9 KiB ed x86_64 0:1.22.5-2.fc44 fedora 149.7 KiB efi-srpm-macros noarch 0:6-6.fc44 fedora 40.2 KiB elfutils x86_64 0:0.195-1.fc44 updates 3.0 MiB elfutils-debuginfod-client x86_64 0:0.195-1.fc44 updates 83.8 KiB elfutils-default-yama-scope noarch 0:0.195-1.fc44 updates 1.8 KiB elfutils-libelf x86_64 0:0.195-1.fc44 updates 1.2 MiB elfutils-libs x86_64 0:0.195-1.fc44 updates 715.3 KiB erlang-srpm-macros noarch 0:0.3.11-1.fc44 fedora 1.9 KiB fedora-gpg-keys noarch 0:44-1 fedora 133.4 KiB fedora-release noarch 0:44-18 updates 0.0 B fedora-release-identity-basic noarch 0:44-18 updates 629.0 B fedora-repos noarch 0:44-1 fedora 4.9 KiB file x86_64 0:5.46-10.fc44 updates 100.1 KiB file-libs x86_64 0:5.46-10.fc44 updates 11.9 MiB filesystem x86_64 0:3.18-52.fc44 fedora 112.0 B filesystem-srpm-macros noarch 0:3.18-52.fc44 fedora 38.2 KiB fonts-srpm-macros noarch 1:5.0.0-2.fc44 fedora 55.8 KiB forge-srpm-macros noarch 0:0.4.0-4.fc44 fedora 38.9 KiB fpc-srpm-macros noarch 0:1.3-16.fc44 fedora 144.0 B gap-srpm-macros noarch 0:2-2.fc44 fedora 2.1 KiB gdb-minimal x86_64 0:17.1-6.fc44 updates 14.2 MiB gdbm-libs x86_64 1:1.23-11.fc44 fedora 129.6 KiB ghc-srpm-macros noarch 0:1.10-1.fc44 fedora 792.0 B glibc x86_64 0:2.43-6.fc44 updates 6.9 MiB glibc-common x86_64 0:2.43-6.fc44 updates 1.0 MiB glibc-gconv-extra x86_64 0:2.43-6.fc44 updates 7.4 MiB gmp x86_64 1:6.3.0-5.fc44 fedora 815.2 KiB gnat-srpm-macros noarch 0:7-2.fc44 fedora 1.0 KiB gnome-srpm-macros noarch 0:1.0-1.fc44 updates 3.5 KiB gnulib-l10n noarch 0:20241231-2.fc44 fedora 655.0 KiB gnupg2 x86_64 0:2.4.9-16.fc44 updates 6.5 MiB gnupg2-dirmngr x86_64 0:2.4.9-16.fc44 updates 634.0 KiB gnupg2-gpg-agent x86_64 0:2.4.9-16.fc44 updates 686.6 KiB gnupg2-gpgconf x86_64 0:2.4.9-16.fc44 updates 249.7 KiB gnupg2-keyboxd x86_64 0:2.4.9-16.fc44 updates 201.2 KiB gnupg2-verify x86_64 0:2.4.9-16.fc44 updates 360.3 KiB gnutls x86_64 0:3.8.13-1.fc44 updates 3.8 MiB go-srpm-macros noarch 0:3.8.0-2.fc44 fedora 61.9 KiB gpgverify noarch 0:2.2-4.fc44 fedora 8.7 KiB ima-evm-utils-libs x86_64 0:1.6.2-8.fc44 fedora 60.6 KiB jansson x86_64 0:2.14-4.fc44 fedora 88.9 KiB java-srpm-macros noarch 0:1-8.fc44 fedora 870.0 B json-c x86_64 0:0.18-8.fc44 fedora 82.6 KiB kernel-srpm-macros noarch 0:1.0-28.fc44 fedora 1.9 KiB keyutils-libs x86_64 0:1.6.3-7.fc44 fedora 54.2 KiB krb5-libs x86_64 0:1.22.2-4.fc44 updates 2.4 MiB libacl x86_64 0:2.3.2-6.fc44 fedora 35.8 KiB libarchive x86_64 0:3.8.7-1.fc44 updates 1.0 MiB libassuan x86_64 0:2.5.7-5.fc44 fedora 163.8 KiB libattr x86_64 0:2.5.2-8.fc44 fedora 24.3 KiB libblkid x86_64 0:2.41.5-1.fc44 updates 274.3 KiB libbrotli x86_64 0:1.2.0-3.fc44 fedora 865.0 KiB libcap x86_64 0:2.78-1.fc44 updates 212.1 KiB libcap-ng x86_64 0:0.9.3-1.fc44 updates 68.8 KiB libcbor x86_64 0:0.13.0-2.fc44 fedora 79.5 KiB libcom_err x86_64 0:1.47.3-4.fc44 fedora 63.0 KiB libcurl x86_64 0:8.18.0-6.fc44 updates 1.0 MiB libeconf x86_64 0:0.7.9-3.fc44 fedora 64.8 KiB libevent x86_64 0:2.1.12-17.fc44 fedora 978.7 KiB libfdisk x86_64 0:2.41.5-1.fc44 updates 388.3 KiB libffi x86_64 0:3.5.2-2.fc44 fedora 87.7 KiB libfido2 x86_64 0:1.16.0-5.fc44 fedora 246.4 KiB libfsverity x86_64 0:1.6-4.fc44 fedora 28.4 KiB libgcc x86_64 0:16.1.1-2.fc44 updates 270.7 KiB libgcrypt x86_64 0:1.12.2-1.fc44 updates 1.7 MiB libgomp x86_64 0:16.1.1-2.fc44 updates 577.4 KiB libgpg-error x86_64 0:1.58-2.fc44 fedora 941.6 KiB libidn2 x86_64 0:2.3.8-3.fc44 fedora 556.4 KiB libksba x86_64 0:1.6.7-5.fc44 fedora 414.4 KiB liblastlog2 x86_64 0:2.41.5-1.fc44 updates 41.6 KiB libmount x86_64 0:2.41.5-1.fc44 updates 392.6 KiB libnghttp2 x86_64 0:1.68.0-4.fc44 updates 166.1 KiB libnghttp3 x86_64 0:1.16.0-1.fc44 updates 163.2 KiB libpkgconf x86_64 0:2.5.1-1.fc44 fedora 90.1 KiB libpsl x86_64 0:0.21.5-7.fc44 fedora 76.3 KiB libselinux x86_64 0:3.10-1.fc44 fedora 201.0 KiB libselinux-utils x86_64 0:3.10-1.fc44 fedora 305.7 KiB libsemanage x86_64 0:3.10-1.fc44 fedora 312.3 KiB libsepol x86_64 0:3.10-1.fc44 fedora 870.0 KiB libsmartcols x86_64 0:2.41.5-1.fc44 updates 188.3 KiB libssh x86_64 0:0.12.0-1.fc44 fedora 719.1 KiB libssh-config noarch 0:0.12.0-1.fc44 fedora 277.0 B libstdc++ x86_64 0:16.1.1-2.fc44 updates 3.1 MiB libtasn1 x86_64 0:4.21.0-1.fc44 fedora 180.6 KiB libtool-ltdl x86_64 0:2.5.4-10.fc44 fedora 70.0 KiB libunistring x86_64 0:1.1-11.fc44 fedora 1.7 MiB libusb1 x86_64 0:1.0.30-1.fc44 updates 176.0 KiB libuuid x86_64 0:2.41.5-1.fc44 updates 37.2 KiB libverto x86_64 0:0.3.2-12.fc44 fedora 25.3 KiB libxcrypt x86_64 0:4.5.2-3.fc44 fedora 293.2 KiB libxml2 x86_64 0:2.12.10-6.fc44 fedora 1.8 MiB libzstd x86_64 0:1.5.7-5.fc44 fedora 956.1 KiB linkdupes x86_64 0:0.7.3-2.fc44 updates 780.9 KiB lua-libs x86_64 0:5.4.8-5.fc44 fedora 281.7 KiB lua-srpm-macros noarch 0:1-17.fc44 fedora 1.3 KiB lz4-libs x86_64 0:1.10.0-4.fc44 fedora 157.3 KiB mpfr x86_64 0:4.2.2-3.fc44 fedora 849.1 KiB ncurses-base noarch 0:6.6-1.fc44 fedora 329.7 KiB ncurses-libs x86_64 0:6.6-1.fc44 fedora 968.9 KiB nettle x86_64 0:3.10.1-3.fc44 fedora 794.3 KiB ngtcp2 x86_64 0:1.22.1-1.fc44 updates 338.2 KiB ngtcp2-crypto-ossl x86_64 0:1.22.1-1.fc44 updates 51.6 KiB npth x86_64 0:1.8-4.fc44 fedora 49.5 KiB ocaml-srpm-macros noarch 0:11-3.fc44 fedora 1.9 KiB openblas-srpm-macros noarch 0:2-21.fc44 fedora 112.0 B openldap x86_64 0:2.6.13-1.fc44 fedora 669.9 KiB openssl-libs x86_64 1:3.5.7-1.fc44 updates 9.2 MiB p11-kit x86_64 0:0.26.2-1.fc44 fedora 2.6 MiB p11-kit-trust x86_64 0:0.26.2-1.fc44 fedora 478.3 KiB package-notes-srpm-macros noarch 0:0.20-1.fc44 updates 1.6 KiB pam-libs x86_64 0:1.7.2-1.fc44 fedora 130.5 KiB pcre2 x86_64 0:10.47-1.fc44.1 fedora 718.6 KiB pcre2-syntax noarch 0:10.47-1.fc44.1 fedora 281.9 KiB perl-srpm-macros noarch 0:1-61.fc44 fedora 861.0 B pkgconf x86_64 0:2.5.1-1.fc44 fedora 92.7 KiB pkgconf-m4 noarch 0:2.5.1-1.fc44 fedora 14.3 KiB pkgconf-pkg-config x86_64 0:2.5.1-1.fc44 fedora 989.0 B policycoreutils x86_64 0:3.10-4.fc44 updates 884.6 KiB popt x86_64 0:1.19-10.fc44 fedora 132.6 KiB publicsuffix-list-dafsa noarch 0:20260116-1.fc44 fedora 70.4 KiB pyproject-srpm-macros noarch 0:1.22.2-1.fc44 updates 3.2 KiB python-srpm-macros noarch 0:3.14-12.fc44 fedora 51.6 KiB qt5-srpm-macros noarch 0:5.15.18-2.fc44 fedora 500.0 B qt6-srpm-macros noarch 0:6.11.1-1.fc44 updates 472.0 B readline x86_64 0:8.3-4.fc44 fedora 519.5 KiB rpm x86_64 0:6.0.1-2.fc44 fedora 3.1 MiB rpm-build-libs x86_64 0:6.0.1-2.fc44 fedora 276.3 KiB rpm-libs x86_64 0:6.0.1-2.fc44 fedora 961.2 KiB rpm-plugin-selinux x86_64 0:6.0.1-2.fc44 fedora 11.9 KiB rpm-sequoia x86_64 0:1.10.2-2.fc44 updates 2.4 MiB rpm-sign-libs x86_64 0:6.0.1-2.fc44 fedora 39.6 KiB rust-srpm-macros noarch 0:28.4-3.fc44 fedora 5.5 KiB selinux-policy noarch 0:44.3-1.fc44 updates 32.1 KiB selinux-policy-targeted noarch 0:44.3-1.fc44 updates 18.6 MiB setup noarch 0:2.15.0-28.fc44 fedora 724.9 KiB sqlite-libs x86_64 0:3.51.2-1.fc44 fedora 1.6 MiB systemd-libs x86_64 0:259.6-1.fc44 updates 2.4 MiB systemd-standalone-sysusers x86_64 0:259.6-1.fc44 updates 305.7 KiB tpm2-tss x86_64 0:4.1.3-9.fc44 fedora 1.6 MiB tree-sitter-srpm-macros noarch 0:0.4.2-2.fc44 fedora 8.3 KiB util-linux-core x86_64 0:2.41.5-1.fc44 updates 1.5 MiB xxhash-libs x86_64 0:0.8.3-4.fc44 fedora 94.0 KiB xz-libs x86_64 1:5.8.2-2.fc44 fedora 217.7 KiB zig-srpm-macros noarch 0:1-8.fc44 fedora 1.3 KiB zip x86_64 0:3.0-45.fc44 fedora 698.0 KiB zlib-ng-compat x86_64 0:2.3.3-3.fc44 fedora 165.6 KiB zstd x86_64 0:1.5.7-5.fc44 fedora 502.4 KiB Installing groups: Buildsystem building group Transaction Summary: Installing: 185 packages Total size of inbound packages is 69 MiB. Need to download 69 MiB. After this operation, 223 MiB extra will be used (install 223 MiB, remove 0 B). [ 1/185] bzip2-0:1.0.8-23.fc44.x86_64 100% | 3.6 MiB/s | 52.1 KiB | 00m00s [ 2/185] cpio-0:2.15-9.fc44.x86_64 100% | 17.9 MiB/s | 293.3 KiB | 00m00s [ 3/185] diffutils-0:3.12-5.fc44.x86_6 100% | 42.9 MiB/s | 395.3 KiB | 00m00s [ 4/185] findutils-1:4.10.0-7.fc44.x86 100% | 59.9 MiB/s | 552.5 KiB | 00m00s [ 5/185] bash-0:5.3.9-3.fc44.x86_64 100% | 59.2 MiB/s | 1.9 MiB | 00m00s [ 6/185] grep-0:3.12-3.fc44.x86_64 100% | 29.5 MiB/s | 301.6 KiB | 00m00s [ 7/185] gzip-0:1.14-2.fc44.x86_64 100% | 21.9 MiB/s | 179.1 KiB | 00m00s [ 8/185] info-0:7.2-9.fc44.x86_64 100% | 26.0 MiB/s | 186.7 KiB | 00m00s [ 9/185] patch-0:2.8-4.fc44.x86_64 100% | 14.1 MiB/s | 115.2 KiB | 00m00s [ 10/185] rpm-build-0:6.0.1-2.fc44.x86_ 100% | 13.7 MiB/s | 139.9 KiB | 00m00s [ 11/185] sed-0:4.9-7.fc44.x86_64 100% | 31.2 MiB/s | 319.2 KiB | 00m00s [ 12/185] tar-2:1.35-8.fc44.x86_64 100% | 77.1 MiB/s | 868.2 KiB | 00m00s [ 13/185] unzip-0:6.0-69.fc44.x86_64 100% | 24.4 MiB/s | 199.6 KiB | 00m00s [ 14/185] xz-1:5.8.2-2.fc44.x86_64 100% | 84.7 MiB/s | 607.2 KiB | 00m00s [ 15/185] fedora-release-common-0:44-18 100% | 4.6 MiB/s | 23.6 KiB | 00m00s [ 16/185] coreutils-0:9.10-4.fc44.x86_6 100% | 131.3 MiB/s | 1.2 MiB | 00m00s [ 17/185] gawk-0:5.3.2-3.fc44.x86_64 100% | 162.2 MiB/s | 1.1 MiB | 00m00s [ 18/185] glibc-minimal-langpack-0:2.43 100% | 15.9 MiB/s | 81.5 KiB | 00m00s [ 19/185] redhat-rpm-config-0:344-2.fc4 100% | 25.4 MiB/s | 78.1 KiB | 00m00s [ 20/185] util-linux-0:2.41.5-1.fc44.x8 100% | 150.6 MiB/s | 1.2 MiB | 00m00s [ 21/185] which-0:2.25-1.fc44.x86_64 100% | 5.9 MiB/s | 42.1 KiB | 00m00s [ 22/185] shadow-utils-2:4.19.0-7.fc44. 100% | 129.8 MiB/s | 1.3 MiB | 00m00s [ 23/185] ncurses-libs-0:6.6-1.fc44.x86 100% | 67.2 MiB/s | 344.1 KiB | 00m00s [ 24/185] bzip2-libs-0:1.0.8-23.fc44.x8 100% | 7.1 MiB/s | 43.8 KiB | 00m00s [ 25/185] filesystem-0:3.18-52.fc44.x86 100% | 111.2 MiB/s | 1.3 MiB | 00m00s [ 26/185] libselinux-0:3.10-1.fc44.x86_ 100% | 16.6 MiB/s | 102.0 KiB | 00m00s [ 27/185] pcre2-0:10.47-1.fc44.1.x86_64 100% | 54.2 MiB/s | 277.7 KiB | 00m00s [ 28/185] ed-0:1.22.5-2.fc44.x86_64 100% | 27.8 MiB/s | 85.4 KiB | 00m00s [ 29/185] libattr-0:2.5.2-8.fc44.x86_64 100% | 5.8 MiB/s | 17.9 KiB | 00m00s [ 30/185] popt-0:1.19-10.fc44.x86_64 100% | 16.3 MiB/s | 66.9 KiB | 00m00s [ 31/185] rpm-0:6.0.1-2.fc44.x86_64 100% | 141.2 MiB/s | 578.3 KiB | 00m00s [ 32/185] rpm-build-libs-0:6.0.1-2.fc44 100% | 43.0 MiB/s | 132.2 KiB | 00m00s [ 33/185] readline-0:8.3-4.fc44.x86_64 100% | 44.9 MiB/s | 229.8 KiB | 00m00s [ 34/185] rpm-libs-0:6.0.1-2.fc44.x86_6 100% | 135.2 MiB/s | 415.5 KiB | 00m00s [ 35/185] zstd-0:1.5.7-5.fc44.x86_64 100% | 47.0 MiB/s | 192.5 KiB | 00m00s [ 36/185] libacl-0:2.3.2-6.fc44.x86_64 100% | 8.1 MiB/s | 24.8 KiB | 00m00s [ 37/185] xz-libs-1:5.8.2-2.fc44.x86_64 100% | 38.0 MiB/s | 116.8 KiB | 00m00s [ 38/185] gmp-1:6.3.0-5.fc44.x86_64 100% | 78.7 MiB/s | 322.5 KiB | 00m00s [ 39/185] fedora-repos-0:44-1.noarch 100% | 4.5 MiB/s | 9.2 KiB | 00m00s [ 40/185] coreutils-common-0:9.10-4.fc4 100% | 194.0 MiB/s | 2.1 MiB | 00m00s [ 41/185] mpfr-0:4.2.2-3.fc44.x86_64 100% | 58.2 MiB/s | 357.8 KiB | 00m00s [ 42/185] glibc-common-0:2.43-6.fc44.x8 100% | 60.5 MiB/s | 371.7 KiB | 00m00s [ 43/185] gnome-srpm-macros-0:1.0-1.fc4 100% | 2.1 MiB/s | 8.7 KiB | 00m00s [ 44/185] ansible-srpm-macros-0:1-20.1. 100% | 6.5 MiB/s | 20.1 KiB | 00m00s [ 45/185] cmake-srpm-macros-0:4.3.0-1.f 100% | 3.4 MiB/s | 10.4 KiB | 00m00s [ 46/185] efi-srpm-macros-0:6-6.fc44.no 100% | 11.0 MiB/s | 22.6 KiB | 00m00s [ 47/185] erlang-srpm-macros-0:0.3.11-1 100% | 4.9 MiB/s | 10.0 KiB | 00m00s [ 48/185] dwz-0:0.16-3.fc44.x86_64 100% | 33.9 MiB/s | 138.9 KiB | 00m00s [ 49/185] filesystem-srpm-macros-0:3.18 100% | 13.0 MiB/s | 26.6 KiB | 00m00s [ 50/185] fonts-srpm-macros-1:5.0.0-2.f 100% | 13.4 MiB/s | 27.4 KiB | 00m00s [ 51/185] forge-srpm-macros-0:0.4.0-4.f 100% | 6.5 MiB/s | 20.0 KiB | 00m00s [ 52/185] fpc-srpm-macros-0:1.3-16.fc44 100% | 1.9 MiB/s | 7.9 KiB | 00m00s [ 53/185] gap-srpm-macros-0:2-2.fc44.no 100% | 1.8 MiB/s | 9.1 KiB | 00m00s [ 54/185] ghc-srpm-macros-0:1.10-1.fc44 100% | 2.1 MiB/s | 8.8 KiB | 00m00s [ 55/185] gnat-srpm-macros-0:7-2.fc44.n 100% | 2.1 MiB/s | 8.7 KiB | 00m00s [ 56/185] java-srpm-macros-0:1-8.fc44.n 100% | 2.6 MiB/s | 8.1 KiB | 00m00s [ 57/185] go-srpm-macros-0:3.8.0-2.fc44 100% | 9.2 MiB/s | 28.2 KiB | 00m00s [ 58/185] kernel-srpm-macros-0:1.0-28.f 100% | 2.9 MiB/s | 9.0 KiB | 00m00s [ 59/185] lua-srpm-macros-0:1-17.fc44.n 100% | 2.9 MiB/s | 8.9 KiB | 00m00s [ 60/185] ocaml-srpm-macros-0:11-3.fc44 100% | 3.0 MiB/s | 9.3 KiB | 00m00s [ 61/185] openblas-srpm-macros-0:2-21.f 100% | 1.9 MiB/s | 7.8 KiB | 00m00s [ 62/185] perl-srpm-macros-0:1-61.fc44. 100% | 1.6 MiB/s | 8.4 KiB | 00m00s [ 63/185] python-srpm-macros-0:3.14-12. 100% | 4.7 MiB/s | 24.0 KiB | 00m00s [ 64/185] qt5-srpm-macros-0:5.15.18-2.f 100% | 2.8 MiB/s | 8.7 KiB | 00m00s [ 65/185] rust-srpm-macros-0:28.4-3.fc4 100% | 3.6 MiB/s | 11.1 KiB | 00m00s [ 66/185] tree-sitter-srpm-macros-0:0.4 100% | 3.3 MiB/s | 13.5 KiB | 00m00s [ 67/185] zig-srpm-macros-0:1-8.fc44.no 100% | 2.2 MiB/s | 8.8 KiB | 00m00s [ 68/185] zip-0:3.0-45.fc44.x86_64 100% | 64.5 MiB/s | 264.4 KiB | 00m00s [ 69/185] audit-libs-0:4.1.4-1.fc44.x86 100% | 46.1 MiB/s | 141.6 KiB | 00m00s [ 70/185] libeconf-0:0.7.9-3.fc44.x86_6 100% | 7.1 MiB/s | 36.2 KiB | 00m00s [ 71/185] libxcrypt-0:4.5.2-3.fc44.x86_ 100% | 32.0 MiB/s | 131.2 KiB | 00m00s [ 72/185] libsemanage-0:3.10-1.fc44.x86 100% | 20.7 MiB/s | 127.3 KiB | 00m00s [ 73/185] pam-libs-0:1.7.2-1.fc44.x86_6 100% | 19.2 MiB/s | 59.1 KiB | 00m00s [ 74/185] util-linux-core-0:2.41.5-1.fc 100% | 109.0 MiB/s | 558.1 KiB | 00m00s [ 75/185] zlib-ng-compat-0:2.3.3-3.fc44 100% | 17.8 MiB/s | 91.1 KiB | 00m00s [ 76/185] setup-0:2.15.0-28.fc44.noarch 100% | 21.9 MiB/s | 157.2 KiB | 00m00s [ 77/185] ncurses-base-0:6.6-1.fc44.noa 100% | 28.6 MiB/s | 88.0 KiB | 00m00s [ 78/185] libsepol-0:3.10-1.fc44.x86_64 100% | 89.8 MiB/s | 367.6 KiB | 00m00s [ 79/185] pcre2-syntax-0:10.47-1.fc44.1 100% | 32.2 MiB/s | 164.7 KiB | 00m00s [ 80/185] lua-libs-0:5.4.8-5.fc44.x86_6 100% | 33.3 MiB/s | 136.6 KiB | 00m00s [ 81/185] rpm-sign-libs-0:6.0.1-2.fc44. 100% | 6.8 MiB/s | 28.0 KiB | 00m00s [ 82/185] libzstd-0:1.5.7-5.fc44.x86_64 100% | 88.9 MiB/s | 364.2 KiB | 00m00s [ 83/185] sqlite-libs-0:3.51.2-1.fc44.x 100% | 156.1 MiB/s | 799.2 KiB | 00m00s [ 84/185] gnulib-l10n-0:20241231-2.fc44 100% | 36.7 MiB/s | 150.3 KiB | 00m00s [ 85/185] fedora-gpg-keys-0:44-1.noarch 100% | 46.0 MiB/s | 141.4 KiB | 00m00s [ 86/185] ima-evm-utils-libs-0:1.6.2-8. 100% | 14.6 MiB/s | 30.0 KiB | 00m00s [ 87/185] libfsverity-0:1.6-4.fc44.x86_ 100% | 6.3 MiB/s | 19.2 KiB | 00m00s [ 88/185] tpm2-tss-0:4.1.3-9.fc44.x86_6 100% | 71.8 MiB/s | 440.9 KiB | 00m00s [ 89/185] glibc-0:2.43-6.fc44.x86_64 100% | 157.8 MiB/s | 2.4 MiB | 00m00s [ 90/185] json-c-0:0.18-8.fc44.x86_64 100% | 5.7 MiB/s | 46.3 KiB | 00m00s [ 91/185] glibc-gconv-extra-0:2.43-6.fc 100% | 108.5 MiB/s | 1.6 MiB | 00m00s [ 92/185] libgcc-0:16.1.1-2.fc44.x86_64 100% | 42.6 MiB/s | 131.0 KiB | 00m00s [ 93/185] libusb1-0:1.0.30-1.fc44.x86_6 100% | 27.1 MiB/s | 83.4 KiB | 00m00s [ 94/185] libstdc++-0:16.1.1-2.fc44.x86 100% | 166.2 MiB/s | 1.0 MiB | 00m00s [ 95/185] libuuid-0:2.41.5-1.fc44.x86_6 100% | 6.6 MiB/s | 27.1 KiB | 00m00s [ 96/185] libmount-0:2.41.5-1.fc44.x86_ 100% | 42.1 MiB/s | 172.4 KiB | 00m00s [ 97/185] libblkid-0:2.41.5-1.fc44.x86_ 100% | 25.4 MiB/s | 129.8 KiB | 00m00s [ 98/185] gpgverify-0:2.2-4.fc44.noarch 100% | 5.5 MiB/s | 11.2 KiB | 00m00s [ 99/185] gnupg2-dirmngr-0:2.4.9-16.fc4 100% | 68.7 MiB/s | 281.4 KiB | 00m00s [100/185] gnupg2-0:2.4.9-16.fc44.x86_64 100% | 137.8 MiB/s | 1.7 MiB | 00m00s [101/185] gnupg2-gpg-agent-0:2.4.9-16.f 100% | 39.2 MiB/s | 281.2 KiB | 00m00s [102/185] gnupg2-gpgconf-0:2.4.9-16.fc4 100% | 38.0 MiB/s | 116.6 KiB | 00m00s [103/185] gnupg2-keyboxd-0:2.4.9-16.fc4 100% | 31.5 MiB/s | 96.8 KiB | 00m00s [104/185] gnupg2-verify-0:2.4.9-16.fc44 100% | 43.0 MiB/s | 176.3 KiB | 00m00s [105/185] libassuan-0:2.5.7-5.fc44.x86_ 100% | 16.8 MiB/s | 68.9 KiB | 00m00s [106/185] libgpg-error-0:1.58-2.fc44.x8 100% | 49.6 MiB/s | 254.1 KiB | 00m00s [107/185] npth-0:1.8-4.fc44.x86_64 100% | 6.3 MiB/s | 25.8 KiB | 00m00s [108/185] libksba-0:1.6.7-5.fc44.x86_64 100% | 40.9 MiB/s | 167.4 KiB | 00m00s [109/185] openldap-0:2.6.13-1.fc44.x86_ 100% | 66.3 MiB/s | 271.6 KiB | 00m00s [110/185] libevent-0:2.1.12-17.fc44.x86 100% | 70.2 MiB/s | 287.4 KiB | 00m00s [111/185] cyrus-sasl-lib-0:2.1.28-35.fc 100% | 130.3 MiB/s | 800.7 KiB | 00m00s [112/185] libtool-ltdl-0:2.5.4-10.fc44. 100% | 12.1 MiB/s | 37.0 KiB | 00m00s [113/185] libcap-0:2.78-1.fc44.x86_64 100% | 43.0 MiB/s | 88.1 KiB | 00m00s [114/185] gdbm-libs-1:1.23-11.fc44.x86_ 100% | 14.4 MiB/s | 58.8 KiB | 00m00s [115/185] rpm-sequoia-0:1.10.2-2.fc44.x 100% | 127.1 MiB/s | 911.0 KiB | 00m00s [116/185] elfutils-libelf-0:0.195-1.fc4 100% | 34.2 MiB/s | 210.0 KiB | 00m00s [117/185] elfutils-libs-0:0.195-1.fc44. 100% | 46.1 MiB/s | 283.0 KiB | 00m00s [118/185] elfutils-0:0.195-1.fc44.x86_6 100% | 114.9 MiB/s | 588.4 KiB | 00m00s [119/185] elfutils-debuginfod-client-0: 100% | 11.3 MiB/s | 46.2 KiB | 00m00s [120/185] file-libs-0:5.46-10.fc44.x86_ 100% | 119.1 MiB/s | 853.6 KiB | 00m00s [121/185] file-0:5.46-10.fc44.x86_64 100% | 11.9 MiB/s | 48.7 KiB | 00m00s [122/185] libgomp-0:16.1.1-2.fc44.x86_6 100% | 76.6 MiB/s | 392.4 KiB | 00m00s [123/185] alternatives-0:1.33-5.fc44.x8 100% | 8.0 MiB/s | 40.8 KiB | 00m00s [124/185] jansson-0:2.14-4.fc44.x86_64 100% | 9.2 MiB/s | 47.1 KiB | 00m00s [125/185] debugedit-0:5.3-2.fc44.x86_64 100% | 28.6 MiB/s | 87.8 KiB | 00m00s [126/185] libarchive-0:3.8.7-1.fc44.x86 100% | 61.7 MiB/s | 442.4 KiB | 00m00s [127/185] libxml2-0:2.12.10-6.fc44.x86_ 100% | 78.6 MiB/s | 724.6 KiB | 00m00s [128/185] pkgconf-pkg-config-0:2.5.1-1. 100% | 2.3 MiB/s | 9.5 KiB | 00m00s [129/185] lz4-libs-0:1.10.0-4.fc44.x86_ 100% | 9.5 MiB/s | 77.7 KiB | 00m00s [130/185] pkgconf-m4-0:2.5.1-1.fc44.noa 100% | 4.5 MiB/s | 13.8 KiB | 00m00s [131/185] pkgconf-0:2.5.1-1.fc44.x86_64 100% | 11.9 MiB/s | 48.7 KiB | 00m00s [132/185] binutils-0:2.46-3.fc44.x86_64 100% | 169.6 MiB/s | 6.1 MiB | 00m00s [133/185] libpkgconf-0:2.5.1-1.fc44.x86 100% | 4.6 MiB/s | 42.7 KiB | 00m00s [134/185] curl-0:8.18.0-6.fc44.x86_64 100% | 26.0 MiB/s | 240.0 KiB | 00m00s [135/185] libcap-ng-0:0.9.3-1.fc44.x86_ 100% | 8.4 MiB/s | 34.2 KiB | 00m00s [136/185] libsmartcols-0:2.41.5-1.fc44. 100% | 17.1 MiB/s | 87.4 KiB | 00m00s [137/185] systemd-libs-0:259.6-1.fc44.x 100% | 121.4 MiB/s | 870.4 KiB | 00m00s [138/185] liblastlog2-0:2.41.5-1.fc44.x 100% | 5.9 MiB/s | 24.2 KiB | 00m00s [139/185] libfdisk-0:2.41.5-1.fc44.x86_ 100% | 27.4 MiB/s | 168.6 KiB | 00m00s [140/185] R-srpm-macros-0:1.3.7-2.fc44. 100% | 1.8 MiB/s | 11.0 KiB | 00m00s [141/185] build-reproducibility-srpm-ma 100% | 2.6 MiB/s | 13.3 KiB | 00m00s [142/185] add-determinism-0:0.7.3-2.fc4 100% | 104.3 MiB/s | 854.6 KiB | 00m00s [143/185] package-notes-srpm-macros-0:0 100% | 2.5 MiB/s | 10.4 KiB | 00m00s [144/185] linkdupes-0:0.7.3-2.fc44.x86_ 100% | 67.3 MiB/s | 344.8 KiB | 00m00s [145/185] pyproject-srpm-macros-0:1.22. 100% | 7.6 MiB/s | 15.5 KiB | 00m00s [146/185] qt6-srpm-macros-0:6.11.1-1.fc 100% | 4.5 MiB/s | 9.2 KiB | 00m00s [147/185] libgcrypt-0:1.12.2-1.fc44.x86 100% | 123.0 MiB/s | 629.8 KiB | 00m00s [148/185] crypto-policies-0:20251128-3. 100% | 24.0 MiB/s | 98.3 KiB | 00m00s [149/185] libidn2-0:2.3.8-3.fc44.x86_64 100% | 42.9 MiB/s | 175.6 KiB | 00m00s [150/185] gnutls-0:3.8.13-1.fc44.x86_64 100% | 129.7 MiB/s | 1.4 MiB | 00m00s [151/185] libtasn1-0:4.21.0-1.fc44.x86_ 100% | 12.4 MiB/s | 76.0 KiB | 00m00s [152/185] libunistring-0:1.1-11.fc44.x8 100% | 107.0 MiB/s | 547.8 KiB | 00m00s [153/185] nettle-0:3.10.1-3.fc44.x86_64 100% | 104.5 MiB/s | 428.0 KiB | 00m00s [154/185] p11-kit-0:0.26.2-1.fc44.x86_6 100% | 108.5 MiB/s | 555.7 KiB | 00m00s [155/185] elfutils-default-yama-scope-0 100% | 5.5 MiB/s | 11.2 KiB | 00m00s [156/185] libffi-0:3.5.2-2.fc44.x86_64 100% | 10.3 MiB/s | 42.4 KiB | 00m00s [157/185] p11-kit-trust-0:0.26.2-1.fc44 100% | 47.6 MiB/s | 146.4 KiB | 00m00s [158/185] ca-certificates-0:2025.2.80_v 100% | 105.8 MiB/s | 974.8 KiB | 00m00s [159/185] fedora-release-0:44-18.noarch 100% | 1.5 MiB/s | 12.5 KiB | 00m00s [160/185] systemd-standalone-sysusers-0 100% | 21.1 MiB/s | 151.2 KiB | 00m00s [161/185] openssl-libs-1:3.5.7-1.fc44.x 100% | 130.9 MiB/s | 2.7 MiB | 00m00s [162/185] xxhash-libs-0:0.8.3-4.fc44.x8 100% | 5.0 MiB/s | 41.2 KiB | 00m00s [163/185] fedora-release-identity-basic 100% | 2.6 MiB/s | 13.2 KiB | 00m00s [164/185] libcurl-0:8.18.0-6.fc44.x86_6 100% | 88.8 MiB/s | 454.8 KiB | 00m00s [165/185] libbrotli-0:1.2.0-3.fc44.x86_ 100% | 67.9 MiB/s | 347.8 KiB | 00m00s [166/185] libpsl-0:0.21.5-7.fc44.x86_64 100% | 15.9 MiB/s | 65.3 KiB | 00m00s [167/185] gdb-minimal-0:17.1-6.fc44.x86 100% | 163.2 MiB/s | 4.7 MiB | 00m00s [168/185] libssh-0:0.12.0-1.fc44.x86_64 100% | 31.9 MiB/s | 293.8 KiB | 00m00s [169/185] publicsuffix-list-dafsa-0:202 100% | 11.8 MiB/s | 60.3 KiB | 00m00s [170/185] libfido2-0:1.16.0-5.fc44.x86_ 100% | 51.0 MiB/s | 104.5 KiB | 00m00s [171/185] libssh-config-0:0.12.0-1.fc44 100% | 4.6 MiB/s | 9.4 KiB | 00m00s [172/185] libcbor-0:0.13.0-2.fc44.x86_6 100% | 17.6 MiB/s | 36.0 KiB | 00m00s [173/185] selinux-policy-0:44.3-1.fc44. 100% | 11.3 MiB/s | 23.2 KiB | 00m00s [174/185] rpm-plugin-selinux-0:6.0.1-2. 100% | 3.7 MiB/s | 19.2 KiB | 00m00s [175/185] krb5-libs-0:1.22.2-4.fc44.x86 100% | 87.1 MiB/s | 802.6 KiB | 00m00s [176/185] keyutils-libs-0:1.6.3-7.fc44. 100% | 4.4 MiB/s | 31.5 KiB | 00m00s [177/185] libcom_err-0:1.47.3-4.fc44.x8 100% | 6.6 MiB/s | 27.1 KiB | 00m00s [178/185] libverto-0:0.3.2-12.fc44.x86_ 100% | 6.9 MiB/s | 21.1 KiB | 00m00s [179/185] policycoreutils-0:3.10-4.fc44 100% | 50.6 MiB/s | 259.0 KiB | 00m00s [180/185] libselinux-utils-0:3.10-1.fc4 100% | 29.2 MiB/s | 119.6 KiB | 00m00s [181/185] selinux-policy-targeted-0:44. 100% | 218.5 MiB/s | 6.8 MiB | 00m00s [182/185] libnghttp2-0:1.68.0-4.fc44.x8 100% | 8.3 MiB/s | 76.5 KiB | 00m00s [183/185] libnghttp3-0:1.16.0-1.fc44.x8 100% | 8.1 MiB/s | 74.5 KiB | 00m00s [184/185] ngtcp2-0:1.22.1-1.fc44.x86_64 100% | 76.9 MiB/s | 157.4 KiB | 00m00s [185/185] ngtcp2-crypto-ossl-0:1.22.1-1 100% | 13.6 MiB/s | 27.8 KiB | 00m00s -------------------------------------------------------------------------------- [185/185] Total 100% | 169.6 MiB/s | 68.9 MiB | 00m00s Running transaction Importing OpenPGP key 0x6D9F90A6: UserID : "Fedora (44) " Fingerprint: 36F612DCF27F7D1A48A835E4DBFCF71C6D9F90A6 From : file:///usr/share/distribution-gpg-keys/fedora/RPM-GPG-KEY-fedora-44-primary The key was successfully imported. [ 1/187] Verify package files 100% | 797.0 B/s | 185.0 B | 00m00s [ 2/187] Prepare transaction 100% | 4.3 KiB/s | 185.0 B | 00m00s [ 3/187] Installing libgcc-0:16.1.1-2. 100% | 266.0 MiB/s | 272.4 KiB | 00m00s [ 4/187] Installing libssh-config-0:0. 100% | 0.0 B/s | 816.0 B | 00m00s [ 5/187] Installing publicsuffix-list- 100% | 0.0 B/s | 71.1 KiB | 00m00s [ 6/187] Installing fedora-release-ide 100% | 0.0 B/s | 888.0 B | 00m00s [ 7/187] Installing fedora-gpg-keys-0: 100% | 59.3 MiB/s | 182.1 KiB | 00m00s [ 8/187] Installing fedora-repos-0:44- 100% | 0.0 B/s | 5.7 KiB | 00m00s [ 9/187] Installing fedora-release-com 100% | 24.3 MiB/s | 24.9 KiB | 00m00s [ 10/187] Installing fedora-release-0:4 100% | 20.2 KiB/s | 124.0 B | 00m00s >>> Running sysusers scriptlet: setup-0:2.15.0-28.fc44.noarch >>> Finished sysusers scriptlet: setup-0:2.15.0-28.fc44.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. >>> [ 11/187] Installing setup-0:2.15.0-28. 100% | 59.5 MiB/s | 730.6 KiB | 00m00s >>> [RPM] /etc/hosts created as /etc/hosts.rpmnew [ 12/187] Installing filesystem-0:3.18- 100% | 3.5 MiB/s | 212.8 KiB | 00m00s [ 13/187] Installing qt6-srpm-macros-0: 100% | 0.0 B/s | 748.0 B | 00m00s [ 14/187] Installing package-notes-srpm 100% | 0.0 B/s | 2.1 KiB | 00m00s [ 15/187] Installing pkgconf-m4-0:2.5.1 100% | 0.0 B/s | 14.7 KiB | 00m00s [ 16/187] Installing gnulib-l10n-0:2024 100% | 215.5 MiB/s | 661.9 KiB | 00m00s [ 17/187] Installing coreutils-common-0 100% | 445.3 MiB/s | 10.7 MiB | 00m00s [ 18/187] Installing pcre2-syntax-0:10. 100% | 277.7 MiB/s | 284.3 KiB | 00m00s [ 19/187] Installing ncurses-base-0:6.6 100% | 115.7 MiB/s | 355.3 KiB | 00m00s [ 20/187] Installing bash-0:5.3.9-3.fc4 100% | 326.2 MiB/s | 8.5 MiB | 00m00s [ 21/187] Installing glibc-common-0:2.4 100% | 73.2 MiB/s | 1.0 MiB | 00m00s [ 22/187] Installing glibc-gconv-extra- 100% | 355.6 MiB/s | 7.5 MiB | 00m00s [ 23/187] Installing glibc-0:2.43-6.fc4 100% | 223.6 MiB/s | 6.9 MiB | 00m00s [ 24/187] Installing ncurses-libs-0:6.6 100% | 317.5 MiB/s | 975.4 KiB | 00m00s [ 25/187] Installing glibc-minimal-lang 100% | 0.0 B/s | 124.0 B | 00m00s [ 26/187] Installing zlib-ng-compat-0:2 100% | 162.6 MiB/s | 166.5 KiB | 00m00s [ 27/187] Installing bzip2-libs-0:1.0.8 100% | 0.0 B/s | 81.6 KiB | 00m00s [ 28/187] Installing libgpg-error-0:1.5 100% | 71.2 MiB/s | 947.5 KiB | 00m00s [ 29/187] Installing libstdc++-0:16.1.1 100% | 441.8 MiB/s | 3.1 MiB | 00m00s [ 30/187] Installing libassuan-0:2.5.7- 100% | 161.8 MiB/s | 165.7 KiB | 00m00s [ 31/187] Installing libgcrypt-0:1.12.2 100% | 414.7 MiB/s | 1.7 MiB | 00m00s [ 32/187] Installing readline-0:8.3-4.f 100% | 509.4 MiB/s | 521.6 KiB | 00m00s [ 33/187] Installing xz-libs-1:5.8.2-2. 100% | 213.7 MiB/s | 218.8 KiB | 00m00s [ 34/187] Installing gmp-1:6.3.0-5.fc44 100% | 399.2 MiB/s | 817.5 KiB | 00m00s [ 35/187] Installing libzstd-0:1.5.7-5. 100% | 467.5 MiB/s | 957.4 KiB | 00m00s [ 36/187] Installing elfutils-libelf-0: 100% | 387.3 MiB/s | 1.2 MiB | 00m00s [ 37/187] Installing libuuid-0:2.41.5-1 100% | 0.0 B/s | 38.3 KiB | 00m00s [ 38/187] Installing popt-0:1.19-10.fc4 100% | 136.0 MiB/s | 139.3 KiB | 00m00s [ 39/187] Installing npth-0:1.8-4.fc44. 100% | 0.0 B/s | 50.6 KiB | 00m00s [ 40/187] Installing systemd-libs-0:259 100% | 407.7 MiB/s | 2.4 MiB | 00m00s [ 41/187] Installing libblkid-0:2.41.5- 100% | 268.8 MiB/s | 275.3 KiB | 00m00s [ 42/187] Installing libxcrypt-0:4.5.2- 100% | 289.0 MiB/s | 295.9 KiB | 00m00s [ 43/187] Installing libsepol-0:3.10-1. 100% | 425.3 MiB/s | 871.0 KiB | 00m00s [ 44/187] Installing sqlite-libs-0:3.51 100% | 397.6 MiB/s | 1.6 MiB | 00m00s [ 45/187] Installing gnupg2-gpgconf-0:2 100% | 22.4 MiB/s | 251.8 KiB | 00m00s [ 46/187] Installing pcre2-0:10.47-1.fc 100% | 351.6 MiB/s | 720.0 KiB | 00m00s [ 47/187] Installing libselinux-0:3.10- 100% | 197.5 MiB/s | 202.3 KiB | 00m00s [ 48/187] Installing grep-0:3.12-3.fc44 100% | 77.1 MiB/s | 1.0 MiB | 00m00s [ 49/187] Installing findutils-1:4.10.0 100% | 124.6 MiB/s | 1.9 MiB | 00m00s [ 50/187] Installing libattr-0:2.5.2-8. 100% | 0.0 B/s | 25.2 KiB | 00m00s [ 51/187] Installing libacl-0:2.3.2-6.f 100% | 0.0 B/s | 36.6 KiB | 00m00s [ 52/187] Installing sed-0:4.9-7.fc44.x 100% | 65.0 MiB/s | 865.4 KiB | 00m00s [ 53/187] Installing libtasn1-0:4.21.0- 100% | 178.2 MiB/s | 182.4 KiB | 00m00s [ 54/187] Installing libunistring-0:1.1 100% | 433.6 MiB/s | 1.7 MiB | 00m00s [ 55/187] Installing libidn2-0:2.3.8-3. 100% | 68.7 MiB/s | 562.6 KiB | 00m00s [ 56/187] Installing crypto-policies-0: 100% | 51.3 MiB/s | 157.7 KiB | 00m00s [ 57/187] Installing xz-1:5.8.2-2.fc44. 100% | 85.6 MiB/s | 1.4 MiB | 00m00s [ 58/187] Installing libmount-0:2.41.5- 100% | 384.5 MiB/s | 393.7 KiB | 00m00s [ 59/187] Installing gnupg2-verify-0:2. 100% | 32.1 MiB/s | 361.7 KiB | 00m00s [ 60/187] Installing dwz-0:0.16-3.fc44. 100% | 25.9 MiB/s | 292.3 KiB | 00m00s [ 61/187] Installing mpfr-0:4.2.2-3.fc4 100% | 415.4 MiB/s | 850.8 KiB | 00m00s [ 62/187] Installing gawk-0:5.3.2-3.fc4 100% | 122.2 MiB/s | 1.8 MiB | 00m00s [ 63/187] Installing libksba-0:1.6.7-5. 100% | 407.1 MiB/s | 416.9 KiB | 00m00s [ 64/187] Installing unzip-0:6.0-69.fc4 100% | 39.9 MiB/s | 449.3 KiB | 00m00s [ 65/187] Installing file-libs-0:5.46-1 100% | 791.0 MiB/s | 11.9 MiB | 00m00s [ 66/187] Installing file-0:5.46-10.fc4 100% | 9.0 MiB/s | 101.6 KiB | 00m00s [ 67/187] Installing diffutils-0:3.12-5 100% | 112.3 MiB/s | 1.6 MiB | 00m00s [ 68/187] Installing libeconf-0:0.7.9-3 100% | 0.0 B/s | 66.4 KiB | 00m00s [ 69/187] Installing lua-libs-0:5.4.8-5 100% | 276.6 MiB/s | 283.2 KiB | 00m00s [ 70/187] Installing json-c-0:0.18-8.fc 100% | 0.0 B/s | 83.9 KiB | 00m00s [ 71/187] Installing alternatives-0:1.3 100% | 6.2 MiB/s | 63.6 KiB | 00m00s [ 72/187] Installing libcap-ng-0:0.9.3- 100% | 0.0 B/s | 70.6 KiB | 00m00s [ 73/187] Installing audit-libs-0:4.1.4 100% | 383.8 MiB/s | 393.0 KiB | 00m00s [ 74/187] Installing pam-libs-0:1.7.2-1 100% | 129.8 MiB/s | 132.9 KiB | 00m00s [ 75/187] Installing libcap-0:2.78-1.fc 100% | 19.3 MiB/s | 217.2 KiB | 00m00s [ 76/187] Installing libsemanage-0:3.10 100% | 306.7 MiB/s | 314.1 KiB | 00m00s [ 77/187] Installing libsmartcols-0:2.4 100% | 185.0 MiB/s | 189.5 KiB | 00m00s [ 78/187] Installing libffi-0:3.5.2-2.f 100% | 87.0 MiB/s | 89.1 KiB | 00m00s [ 79/187] Installing p11-kit-0:0.26.2-1 100% | 152.6 MiB/s | 2.6 MiB | 00m00s [ 80/187] Installing p11-kit-trust-0:0. 100% | 27.6 MiB/s | 480.0 KiB | 00m00s [ 81/187] Installing ngtcp2-0:1.22.1-1. 100% | 331.8 MiB/s | 339.8 KiB | 00m00s [ 82/187] Installing openssl-libs-1:3.5 100% | 459.6 MiB/s | 9.2 MiB | 00m00s [ 83/187] Installing coreutils-0:9.10-4 100% | 211.2 MiB/s | 5.7 MiB | 00m00s [ 84/187] Installing ca-certificates-0: 100% | 2.3 MiB/s | 2.5 MiB | 00m01s [ 85/187] Installing gzip-0:1.14-2.fc44 100% | 33.1 MiB/s | 407.1 KiB | 00m00s [ 86/187] Installing libfsverity-0:1.6- 100% | 0.0 B/s | 29.4 KiB | 00m00s [ 87/187] Installing libevent-0:2.1.12- 100% | 319.8 MiB/s | 982.4 KiB | 00m00s [ 88/187] Installing rpm-sequoia-0:1.10 100% | 393.3 MiB/s | 2.4 MiB | 00m00s [ 89/187] Installing ngtcp2-crypto-ossl 100% | 51.2 MiB/s | 52.5 KiB | 00m00s [ 90/187] Installing util-linux-core-0: 100% | 98.6 MiB/s | 1.5 MiB | 00m00s [ 91/187] Installing liblastlog2-0:2.41 100% | 8.5 MiB/s | 43.7 KiB | 00m00s [ 92/187] Installing zip-0:3.0-45.fc44. 100% | 52.7 MiB/s | 701.9 KiB | 00m00s [ 93/187] Installing gnupg2-keyboxd-0:2 100% | 39.5 MiB/s | 202.4 KiB | 00m00s [ 94/187] Installing libpsl-0:0.21.5-7. 100% | 75.6 MiB/s | 77.4 KiB | 00m00s [ 95/187] Installing tar-2:1.35-8.fc44. 100% | 165.4 MiB/s | 3.0 MiB | 00m00s [ 96/187] Installing linkdupes-0:0.7.3- 100% | 63.7 MiB/s | 782.3 KiB | 00m00s [ 97/187] Installing libselinux-utils-0 100% | 26.0 MiB/s | 320.1 KiB | 00m00s [ 98/187] Installing systemd-standalone 100% | 27.2 MiB/s | 306.2 KiB | 00m00s [ 99/187] Installing rpm-libs-0:6.0.1-2 100% | 313.4 MiB/s | 962.8 KiB | 00m00s [100/187] Installing libfdisk-0:2.41.5- 100% | 190.1 MiB/s | 389.4 KiB | 00m00s [101/187] Installing util-linux-0:2.41. 100% | 123.6 MiB/s | 3.6 MiB | 00m00s [102/187] Installing policycoreutils-0: 100% | 42.5 MiB/s | 913.0 KiB | 00m00s [103/187] Installing selinux-policy-0:4 100% | 2.0 MiB/s | 34.5 KiB | 00m00s [104/187] Installing selinux-policy-tar 100% | 244.3 MiB/s | 14.9 MiB | 00m00s [105/187] Installing libusb1-0:1.0.30-1 100% | 24.8 MiB/s | 177.7 KiB | 00m00s >>> Running sysusers scriptlet: tpm2-tss-0:4.1.3-9.fc44.x86_64 >>> Finished sysusers scriptlet: tpm2-tss-0:4.1.3-9.fc44.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/187] Installing tpm2-tss-0:4.1.3-9 100% | 326.6 MiB/s | 1.6 MiB | 00m00s [107/187] Installing ima-evm-utils-libs 100% | 0.0 B/s | 61.9 KiB | 00m00s [108/187] Installing gnupg2-gpg-agent-0 100% | 39.7 MiB/s | 690.5 KiB | 00m00s [109/187] Installing zstd-0:1.5.7-5.fc4 100% | 41.2 MiB/s | 506.0 KiB | 00m00s [110/187] Installing nettle-0:3.10.1-3. 100% | 389.4 MiB/s | 797.4 KiB | 00m00s [111/187] Installing gnutls-0:3.8.13-1. 100% | 427.7 MiB/s | 3.8 MiB | 00m00s [112/187] Installing libxml2-0:2.12.10- 100% | 118.0 MiB/s | 1.8 MiB | 00m00s [113/187] Installing bzip2-0:1.0.8-23.f 100% | 8.8 MiB/s | 99.5 KiB | 00m00s [114/187] Installing add-determinism-0: 100% | 145.5 MiB/s | 2.2 MiB | 00m00s [115/187] Installing build-reproducibil 100% | 0.0 B/s | 1.5 KiB | 00m00s [116/187] Installing cpio-0:2.15-9.fc44 100% | 84.9 MiB/s | 1.1 MiB | 00m00s [117/187] Installing ed-0:1.22.5-2.fc44 100% | 13.5 MiB/s | 152.0 KiB | 00m00s [118/187] Installing patch-0:2.8-4.fc44 100% | 20.2 MiB/s | 228.1 KiB | 00m00s [119/187] Installing libtool-ltdl-0:2.5 100% | 0.0 B/s | 71.1 KiB | 00m00s [120/187] Installing gdbm-libs-1:1.23-1 100% | 128.3 MiB/s | 131.3 KiB | 00m00s [121/187] Installing cyrus-sasl-lib-0:2 100% | 154.0 MiB/s | 2.3 MiB | 00m00s [122/187] Installing openldap-0:2.6.13- 100% | 328.9 MiB/s | 673.7 KiB | 00m00s [123/187] Installing gnupg2-dirmngr-0:2 100% | 38.9 MiB/s | 636.7 KiB | 00m00s [124/187] Installing gnupg2-0:2.4.9-16. 100% | 260.2 MiB/s | 6.5 MiB | 00m00s [125/187] Installing rpm-sign-libs-0:6. 100% | 0.0 B/s | 40.5 KiB | 00m00s [126/187] Installing gpgverify-0:2.2-4. 100% | 0.0 B/s | 9.4 KiB | 00m00s [127/187] Installing libgomp-0:16.1.1-2 100% | 565.2 MiB/s | 578.8 KiB | 00m00s [128/187] Installing jansson-0:2.14-4.f 100% | 0.0 B/s | 90.3 KiB | 00m00s [129/187] Installing lz4-libs-0:1.10.0- 100% | 154.6 MiB/s | 158.4 KiB | 00m00s [130/187] Installing libarchive-0:3.8.7 100% | 326.0 MiB/s | 1.0 MiB | 00m00s [131/187] Installing libpkgconf-0:2.5.1 100% | 89.1 MiB/s | 91.3 KiB | 00m00s [132/187] Installing pkgconf-0:2.5.1-1. 100% | 8.5 MiB/s | 95.2 KiB | 00m00s [133/187] Installing pkgconf-pkg-config 100% | 177.3 KiB/s | 1.8 KiB | 00m00s [134/187] Installing xxhash-libs-0:0.8. 100% | 93.2 MiB/s | 95.4 KiB | 00m00s [135/187] Installing libbrotli-0:1.2.0- 100% | 282.3 MiB/s | 867.3 KiB | 00m00s [136/187] Installing libcbor-0:0.13.0-2 100% | 79.0 MiB/s | 80.9 KiB | 00m00s [137/187] Installing libfido2-0:1.16.0- 100% | 242.1 MiB/s | 247.9 KiB | 00m00s [138/187] Installing keyutils-libs-0:1. 100% | 0.0 B/s | 55.6 KiB | 00m00s [139/187] Installing libcom_err-0:1.47. 100% | 0.0 B/s | 64.1 KiB | 00m00s [140/187] Installing libverto-0:0.3.2-1 100% | 0.0 B/s | 27.1 KiB | 00m00s [141/187] Installing krb5-libs-0:1.22.2 100% | 399.1 MiB/s | 2.4 MiB | 00m00s [142/187] Installing libssh-0:0.12.0-1. 100% | 352.1 MiB/s | 721.2 KiB | 00m00s [143/187] Installing libnghttp2-0:1.68. 100% | 163.3 MiB/s | 167.3 KiB | 00m00s [144/187] Installing libnghttp3-0:1.16. 100% | 160.8 MiB/s | 164.6 KiB | 00m00s [145/187] Installing libcurl-0:8.18.0-6 100% | 332.7 MiB/s | 1.0 MiB | 00m00s [146/187] Installing curl-0:8.18.0-6.fc 100% | 26.2 MiB/s | 482.6 KiB | 00m00s [147/187] Installing rpm-0:6.0.1-2.fc44 100% | 98.1 MiB/s | 2.6 MiB | 00m00s [148/187] Installing cmake-srpm-macros- 100% | 0.0 B/s | 804.0 B | 00m00s [149/187] Installing efi-srpm-macros-0: 100% | 0.0 B/s | 41.2 KiB | 00m00s [150/187] Installing java-srpm-macros-0 100% | 0.0 B/s | 1.1 KiB | 00m00s [151/187] Installing lua-srpm-macros-0: 100% | 0.0 B/s | 1.9 KiB | 00m00s [152/187] Installing tree-sitter-srpm-m 100% | 0.0 B/s | 9.3 KiB | 00m00s [153/187] Installing zig-srpm-macros-0: 100% | 0.0 B/s | 1.9 KiB | 00m00s [154/187] Installing filesystem-srpm-ma 100% | 0.0 B/s | 38.9 KiB | 00m00s [155/187] Installing elfutils-default-y 100% | 510.7 KiB/s | 2.0 KiB | 00m00s [156/187] Installing elfutils-libs-0:0. 100% | 350.2 MiB/s | 717.1 KiB | 00m00s [157/187] Installing elfutils-debuginfo 100% | 7.0 MiB/s | 86.1 KiB | 00m00s [158/187] Installing elfutils-0:0.195-1 100% | 175.1 MiB/s | 3.0 MiB | 00m00s [159/187] Installing binutils-0:2.46-3. 100% | 389.5 MiB/s | 27.3 MiB | 00m00s [160/187] Installing gdb-minimal-0:17.1 100% | 337.0 MiB/s | 14.2 MiB | 00m00s [161/187] Installing debugedit-0:5.3-2. 100% | 19.9 MiB/s | 224.0 KiB | 00m00s [162/187] Installing rpm-build-libs-0:6 100% | 270.6 MiB/s | 277.1 KiB | 00m00s [163/187] Installing rust-srpm-macros-0 100% | 0.0 B/s | 6.4 KiB | 00m00s [164/187] Installing qt5-srpm-macros-0: 100% | 0.0 B/s | 776.0 B | 00m00s [165/187] Installing perl-srpm-macros-0 100% | 0.0 B/s | 1.1 KiB | 00m00s [166/187] Installing openblas-srpm-macr 100% | 0.0 B/s | 392.0 B | 00m00s [167/187] Installing ocaml-srpm-macros- 100% | 0.0 B/s | 2.1 KiB | 00m00s [168/187] Installing kernel-srpm-macros 100% | 0.0 B/s | 2.3 KiB | 00m00s [169/187] Installing gnat-srpm-macros-0 100% | 0.0 B/s | 1.3 KiB | 00m00s [170/187] Installing ghc-srpm-macros-0: 100% | 0.0 B/s | 1.0 KiB | 00m00s [171/187] Installing gap-srpm-macros-0: 100% | 0.0 B/s | 2.7 KiB | 00m00s [172/187] Installing fpc-srpm-macros-0: 100% | 0.0 B/s | 420.0 B | 00m00s [173/187] Installing ansible-srpm-macro 100% | 0.0 B/s | 36.2 KiB | 00m00s [174/187] Installing gnome-srpm-macros- 100% | 0.0 B/s | 4.1 KiB | 00m00s [175/187] Installing redhat-rpm-config- 100% | 37.1 MiB/s | 189.9 KiB | 00m00s [176/187] Installing forge-srpm-macros- 100% | 0.0 B/s | 40.3 KiB | 00m00s [177/187] Installing rpm-build-0:6.0.1- 100% | 24.7 MiB/s | 303.7 KiB | 00m00s [178/187] Installing erlang-srpm-macros 100% | 0.0 B/s | 2.5 KiB | 00m00s [179/187] Installing pyproject-srpm-mac 100% | 0.0 B/s | 3.8 KiB | 00m00s [180/187] Installing fonts-srpm-macros- 100% | 0.0 B/s | 57.0 KiB | 00m00s [181/187] Installing go-srpm-macros-0:3 100% | 0.0 B/s | 63.0 KiB | 00m00s [182/187] Installing python-srpm-macros 100% | 0.0 B/s | 52.9 KiB | 00m00s [183/187] Installing R-srpm-macros-0:1. 100% | 0.0 B/s | 4.4 KiB | 00m00s [184/187] Installing rpm-plugin-selinux 100% | 0.0 B/s | 12.9 KiB | 00m00s [185/187] Installing which-0:2.25-1.fc4 100% | 7.0 MiB/s | 85.8 KiB | 00m00s [186/187] Installing shadow-utils-2:4.1 100% | 167.8 MiB/s | 4.0 MiB | 00m00s [187/187] Installing info-0:7.2-9.fc44. 100% | 67.2 KiB/s | 366.0 KiB | 00m05s 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-2.fc44.noarch add-determinism-0.7.3-2.fc44.x86_64 alternatives-1.33-5.fc44.x86_64 ansible-srpm-macros-1-20.1.fc44.noarch audit-libs-4.1.4-1.fc44.x86_64 bash-5.3.9-3.fc44.x86_64 binutils-2.46-3.fc44.x86_64 build-reproducibility-srpm-macros-0.7.3-2.fc44.noarch bzip2-1.0.8-23.fc44.x86_64 bzip2-libs-1.0.8-23.fc44.x86_64 ca-certificates-2025.2.80_v9.0.304-7.fc44.noarch cmake-srpm-macros-4.3.0-1.fc44.noarch coreutils-9.10-4.fc44.x86_64 coreutils-common-9.10-4.fc44.x86_64 cpio-2.15-9.fc44.x86_64 crypto-policies-20251128-3.git19878fe.fc44.noarch curl-8.18.0-6.fc44.x86_64 cyrus-sasl-lib-2.1.28-35.fc44.x86_64 debugedit-5.3-2.fc44.x86_64 diffutils-3.12-5.fc44.x86_64 dwz-0.16-3.fc44.x86_64 ed-1.22.5-2.fc44.x86_64 efi-srpm-macros-6-6.fc44.noarch elfutils-0.195-1.fc44.x86_64 elfutils-debuginfod-client-0.195-1.fc44.x86_64 elfutils-default-yama-scope-0.195-1.fc44.noarch elfutils-libelf-0.195-1.fc44.x86_64 elfutils-libs-0.195-1.fc44.x86_64 erlang-srpm-macros-0.3.11-1.fc44.noarch fedora-gpg-keys-44-1.noarch fedora-release-44-18.noarch fedora-release-common-44-18.noarch fedora-release-identity-basic-44-18.noarch fedora-repos-44-1.noarch file-5.46-10.fc44.x86_64 file-libs-5.46-10.fc44.x86_64 filesystem-3.18-52.fc44.x86_64 filesystem-srpm-macros-3.18-52.fc44.noarch findutils-4.10.0-7.fc44.x86_64 fonts-srpm-macros-5.0.0-2.fc44.noarch forge-srpm-macros-0.4.0-4.fc44.noarch fpc-srpm-macros-1.3-16.fc44.noarch gap-srpm-macros-2-2.fc44.noarch gawk-5.3.2-3.fc44.x86_64 gdb-minimal-17.1-6.fc44.x86_64 gdbm-libs-1.23-11.fc44.x86_64 ghc-srpm-macros-1.10-1.fc44.noarch glibc-2.43-6.fc44.x86_64 glibc-common-2.43-6.fc44.x86_64 glibc-gconv-extra-2.43-6.fc44.x86_64 glibc-minimal-langpack-2.43-6.fc44.x86_64 gmp-6.3.0-5.fc44.x86_64 gnat-srpm-macros-7-2.fc44.noarch gnome-srpm-macros-1.0-1.fc44.noarch gnulib-l10n-20241231-2.fc44.noarch gnupg2-2.4.9-16.fc44.x86_64 gnupg2-dirmngr-2.4.9-16.fc44.x86_64 gnupg2-gpg-agent-2.4.9-16.fc44.x86_64 gnupg2-gpgconf-2.4.9-16.fc44.x86_64 gnupg2-keyboxd-2.4.9-16.fc44.x86_64 gnupg2-verify-2.4.9-16.fc44.x86_64 gnutls-3.8.13-1.fc44.x86_64 go-srpm-macros-3.8.0-2.fc44.noarch gpg-pubkey-36f612dcf27f7d1a48a835e4dbfcf71c6d9f90a6-6786af3b gpgverify-2.2-4.fc44.noarch grep-3.12-3.fc44.x86_64 gzip-1.14-2.fc44.x86_64 ima-evm-utils-libs-1.6.2-8.fc44.x86_64 info-7.2-9.fc44.x86_64 jansson-2.14-4.fc44.x86_64 java-srpm-macros-1-8.fc44.noarch json-c-0.18-8.fc44.x86_64 kernel-srpm-macros-1.0-28.fc44.noarch keyutils-libs-1.6.3-7.fc44.x86_64 krb5-libs-1.22.2-4.fc44.x86_64 libacl-2.3.2-6.fc44.x86_64 libarchive-3.8.7-1.fc44.x86_64 libassuan-2.5.7-5.fc44.x86_64 libattr-2.5.2-8.fc44.x86_64 libblkid-2.41.5-1.fc44.x86_64 libbrotli-1.2.0-3.fc44.x86_64 libcap-2.78-1.fc44.x86_64 libcap-ng-0.9.3-1.fc44.x86_64 libcbor-0.13.0-2.fc44.x86_64 libcom_err-1.47.3-4.fc44.x86_64 libcurl-8.18.0-6.fc44.x86_64 libeconf-0.7.9-3.fc44.x86_64 libevent-2.1.12-17.fc44.x86_64 libfdisk-2.41.5-1.fc44.x86_64 libffi-3.5.2-2.fc44.x86_64 libfido2-1.16.0-5.fc44.x86_64 libfsverity-1.6-4.fc44.x86_64 libgcc-16.1.1-2.fc44.x86_64 libgcrypt-1.12.2-1.fc44.x86_64 libgomp-16.1.1-2.fc44.x86_64 libgpg-error-1.58-2.fc44.x86_64 libidn2-2.3.8-3.fc44.x86_64 libksba-1.6.7-5.fc44.x86_64 liblastlog2-2.41.5-1.fc44.x86_64 libmount-2.41.5-1.fc44.x86_64 libnghttp2-1.68.0-4.fc44.x86_64 libnghttp3-1.16.0-1.fc44.x86_64 libpkgconf-2.5.1-1.fc44.x86_64 libpsl-0.21.5-7.fc44.x86_64 libselinux-3.10-1.fc44.x86_64 libselinux-utils-3.10-1.fc44.x86_64 libsemanage-3.10-1.fc44.x86_64 libsepol-3.10-1.fc44.x86_64 libsmartcols-2.41.5-1.fc44.x86_64 libssh-0.12.0-1.fc44.x86_64 libssh-config-0.12.0-1.fc44.noarch libstdc++-16.1.1-2.fc44.x86_64 libtasn1-4.21.0-1.fc44.x86_64 libtool-ltdl-2.5.4-10.fc44.x86_64 libunistring-1.1-11.fc44.x86_64 libusb1-1.0.30-1.fc44.x86_64 libuuid-2.41.5-1.fc44.x86_64 libverto-0.3.2-12.fc44.x86_64 libxcrypt-4.5.2-3.fc44.x86_64 libxml2-2.12.10-6.fc44.x86_64 libzstd-1.5.7-5.fc44.x86_64 linkdupes-0.7.3-2.fc44.x86_64 lua-libs-5.4.8-5.fc44.x86_64 lua-srpm-macros-1-17.fc44.noarch lz4-libs-1.10.0-4.fc44.x86_64 mpfr-4.2.2-3.fc44.x86_64 ncurses-base-6.6-1.fc44.noarch ncurses-libs-6.6-1.fc44.x86_64 nettle-3.10.1-3.fc44.x86_64 ngtcp2-1.22.1-1.fc44.x86_64 ngtcp2-crypto-ossl-1.22.1-1.fc44.x86_64 npth-1.8-4.fc44.x86_64 ocaml-srpm-macros-11-3.fc44.noarch openblas-srpm-macros-2-21.fc44.noarch openldap-2.6.13-1.fc44.x86_64 openssl-libs-3.5.7-1.fc44.x86_64 p11-kit-0.26.2-1.fc44.x86_64 p11-kit-trust-0.26.2-1.fc44.x86_64 package-notes-srpm-macros-0.20-1.fc44.noarch pam-libs-1.7.2-1.fc44.x86_64 patch-2.8-4.fc44.x86_64 pcre2-10.47-1.fc44.1.x86_64 pcre2-syntax-10.47-1.fc44.1.noarch perl-srpm-macros-1-61.fc44.noarch pkgconf-2.5.1-1.fc44.x86_64 pkgconf-m4-2.5.1-1.fc44.noarch pkgconf-pkg-config-2.5.1-1.fc44.x86_64 policycoreutils-3.10-4.fc44.x86_64 popt-1.19-10.fc44.x86_64 publicsuffix-list-dafsa-20260116-1.fc44.noarch pyproject-srpm-macros-1.22.2-1.fc44.noarch python-srpm-macros-3.14-12.fc44.noarch qt5-srpm-macros-5.15.18-2.fc44.noarch qt6-srpm-macros-6.11.1-1.fc44.noarch readline-8.3-4.fc44.x86_64 redhat-rpm-config-344-2.fc44.noarch rpm-6.0.1-2.fc44.x86_64 rpm-build-6.0.1-2.fc44.x86_64 rpm-build-libs-6.0.1-2.fc44.x86_64 rpm-libs-6.0.1-2.fc44.x86_64 rpm-plugin-selinux-6.0.1-2.fc44.x86_64 rpm-sequoia-1.10.2-2.fc44.x86_64 rpm-sign-libs-6.0.1-2.fc44.x86_64 rust-srpm-macros-28.4-3.fc44.noarch sed-4.9-7.fc44.x86_64 selinux-policy-44.3-1.fc44.noarch selinux-policy-targeted-44.3-1.fc44.noarch setup-2.15.0-28.fc44.noarch shadow-utils-4.19.0-7.fc44.x86_64 sqlite-libs-3.51.2-1.fc44.x86_64 systemd-libs-259.6-1.fc44.x86_64 systemd-standalone-sysusers-259.6-1.fc44.x86_64 tar-1.35-8.fc44.x86_64 tpm2-tss-4.1.3-9.fc44.x86_64 tree-sitter-srpm-macros-0.4.2-2.fc44.noarch unzip-6.0-69.fc44.x86_64 util-linux-2.41.5-1.fc44.x86_64 util-linux-core-2.41.5-1.fc44.x86_64 which-2.25-1.fc44.x86_64 xxhash-libs-0.8.3-4.fc44.x86_64 xz-5.8.2-2.fc44.x86_64 xz-libs-5.8.2-2.fc44.x86_64 zig-srpm-macros-1-8.fc44.noarch zip-3.0-45.fc44.x86_64 zlib-ng-compat-2.3.3-3.fc44.x86_64 zstd-1.5.7-5.fc44.x86_64 Start: buildsrpm Start: rpmbuild -bs Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1782518400 Wrote: /builddir/build/SRPMS/libroadrunner-2.9.2-2.fc44.src.rpm Finish: rpmbuild -bs INFO: chroot_scan: 1 files copied to /var/lib/copr-rpmbuild/results/chroot_scan INFO: /var/lib/mock/fedora-44-x86_64-1782618466.663788/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-aiwp7402/libroadrunner/libroadrunner.spec) Config(child) 0 minutes 21 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.9.2-2.fc44.src.rpm) Config(fedora-44-x86_64) Start(bootstrap): chroot init INFO: mounting tmpfs at /var/lib/mock/fedora-44-x86_64-bootstrap-1782618466.663788/root. INFO: reusing tmpfs at /var/lib/mock/fedora-44-x86_64-bootstrap-1782618466.663788/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-44-x86_64-1782618466.663788/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.0.1-2.fc44.x86_64 rpm-sequoia-1.10.2-2.fc44.x86_64 dnf5-5.4.2.1-1.fc44.x86_64 dnf5-plugins-5.4.2.1-1.fc44.x86_64 Finish: chroot init Start: build phase for libroadrunner-2.9.2-2.fc44.src.rpm Start: build setup for libroadrunner-2.9.2-2.fc44.src.rpm Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1782518400 Wrote: /builddir/build/SRPMS/libroadrunner-2.9.2-2.fc44.src.rpm Updating and loading repositories: updates 100% | 16.5 KiB/s | 6.9 KiB | 00m00s fedora 100% | 74.2 KiB/s | 27.2 KiB | 00m00s Copr repository 100% | 17.0 KiB/s | 1.5 KiB | 00m00s Repositories loaded. Package Arch Version Repository Size Installing: blas-devel x86_64 0:3.12.0-11.fc44 fedora 131.9 KiB chrpath x86_64 0:0.16-28.fc44 fedora 58.3 KiB cmake x86_64 0:4.3.0-1.fc44 fedora 40.5 MiB expat-devel x86_64 0:2.8.1-1.fc44 updates 234.5 KiB f2c x86_64 0:20210928-12.fc44 fedora 683.8 KiB gcc-c++ x86_64 0:16.1.1-2.fc44 updates 46.4 MiB lapack-devel x86_64 0:3.12.0-11.fc44 fedora 1.6 MiB libsbml-devel x86_64 0:5.20.5-12.fc44 updates 383.4 MiB llvm13-devel x86_64 0:13.0.1-8.fc41 fedora 20.2 MiB ncurses-devel x86_64 0:6.6-1.fc44 fedora 895.6 KiB ninja-build x86_64 0:1.13.2-2.fc44 fedora 496.5 KiB poco-devel x86_64 0:1.14.1-3.fc44 fedora 6.4 MiB python3-devel x86_64 0:3.14.6-1.fc44 updates 2.0 MiB python3-numpy x86_64 1:2.4.6-1.fc44 updates 41.7 MiB rr-libstruct-devel x86_64 0:2.9.2-0.3.git7ff1f47.fc44 copr_base 184.7 KiB sundials-devel x86_64 0:7.6.0-1.fc44 fedora 29.0 MiB swig x86_64 0:4.4.1-4.fc44 updates 6.1 MiB zlib-ng-compat-static x86_64 0:2.3.3-3.fc44 fedora 2.1 MiB Installing dependencies: annobin-docs noarch 0:13.14-1.fc44 updates 99.3 KiB annobin-plugin-gcc x86_64 0:13.14-1.fc44 updates 699.3 KiB blas x86_64 0:3.12.0-11.fc44 fedora 1.4 MiB blas64 x86_64 0:3.12.0-11.fc44 fedora 1.0 MiB blas64_ x86_64 0:3.12.0-11.fc44 fedora 1.0 MiB cmake-data noarch 0:4.3.0-1.fc44 fedora 9.4 MiB cmake-filesystem x86_64 0:4.3.0-1.fc44 fedora 0.0 B cmake-rpm-macros noarch 0:4.3.0-1.fc44 fedora 8.4 KiB cpp x86_64 0:16.1.1-2.fc44 updates 42.1 MiB emacs-filesystem x86_64 1:30.2-2.fc44 fedora 0.0 B expat x86_64 0:2.8.1-1.fc44 updates 327.4 KiB f2c-libs x86_64 0:20210928-12.fc44 fedora 132.7 KiB flexiblas x86_64 0:3.5.0-2.fc44 fedora 38.0 KiB flexiblas-netlib x86_64 0:3.5.0-2.fc44 fedora 16.3 MiB flexiblas-openblas-openmp x86_64 0:3.5.0-2.fc44 fedora 39.1 KiB gcc x86_64 0:16.1.1-2.fc44 updates 120.8 MiB gcc-gfortran x86_64 0:16.1.1-2.fc44 updates 44.8 MiB gcc-plugin-annobin x86_64 0:16.1.1-2.fc44 updates 57.2 KiB glibc-devel x86_64 0:2.43-6.fc44 updates 2.3 MiB jsoncpp x86_64 0:1.9.6-3.fc44 fedora 285.6 KiB kernel-headers x86_64 0:7.0.6-200.fc44 updates 6.9 MiB lapack x86_64 0:3.12.0-11.fc44 fedora 16.4 MiB lapack64 x86_64 0:3.12.0-11.fc44 fedora 9.8 MiB lapack64_ x86_64 0:3.12.0-11.fc44 fedora 9.8 MiB libatomic x86_64 0:16.1.1-2.fc44 updates 45.6 KiB libedit x86_64 0:3.1-59.20260512cvs.fc44 updates 248.3 KiB libedit-devel x86_64 0:3.1-59.20260512cvs.fc44 updates 59.9 KiB libgfortran x86_64 0:16.1.1-2.fc44 updates 3.4 MiB libiodbc x86_64 0:3.52.16-4.fc44 fedora 679.4 KiB libmpc x86_64 0:1.4.1-1.fc44 updates 168.7 KiB libpng x86_64 2:1.6.58-1.fc44 updates 249.6 KiB libpq x86_64 0:18.0-4.fc44 fedora 1.0 MiB libquadmath x86_64 0:16.1.1-2.fc44 updates 325.9 KiB libquadmath-devel x86_64 0:16.1.1-2.fc44 updates 22.2 KiB libsbml x86_64 0:5.20.5-12.fc44 updates 10.1 MiB libstdc++-devel x86_64 0:16.1.1-2.fc44 updates 41.2 MiB libuv x86_64 1:1.51.0-3.fc44 fedora 582.8 KiB libxcrypt-devel x86_64 0:4.5.2-3.fc44 fedora 31.0 KiB libxml2-devel x86_64 0:2.12.10-6.fc44 fedora 3.4 MiB llvm13 x86_64 0:13.0.1-8.fc41 fedora 36.2 MiB llvm13-libs x86_64 0:13.0.1-8.fc41 fedora 83.6 MiB llvm13-static x86_64 0:13.0.1-8.fc41 fedora 221.3 MiB make x86_64 1:4.4.1-12.fc44 fedora 1.8 MiB mariadb-connector-c x86_64 0:3.4.9-1.fc44 updates 501.4 KiB mariadb-connector-c-config noarch 0:3.4.9-1.fc44 updates 26.4 KiB minizip-ng-compat x86_64 0:4.1.0-1.fc44 fedora 166.4 KiB mpdecimal x86_64 0:4.0.1-3.fc44 fedora 217.1 KiB ncurses-c++-libs x86_64 0:6.6-1.fc44 fedora 161.5 KiB openblas x86_64 0:0.3.29-2.fc43 fedora 111.7 KiB openblas-openmp x86_64 0:0.3.29-2.fc43 fedora 43.7 MiB openblas-serial x86_64 0:0.3.29-2.fc43 fedora 41.5 MiB openssl-devel x86_64 1:3.5.7-1.fc44 updates 4.5 MiB pcre2-devel x86_64 0:10.47-1.fc44.1 fedora 2.1 MiB pcre2-utf16 x86_64 0:10.47-1.fc44.1 fedora 655.2 KiB pcre2-utf32 x86_64 0:10.47-1.fc44.1 fedora 623.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.22.2-1.fc44 updates 147.2 KiB python-pip-wheel noarch 0:26.0.1-2.fc44 fedora 1.2 MiB python-rpm-macros noarch 0:3.14-12.fc44 fedora 28.0 KiB python3 x86_64 0:3.14.6-1.fc44 updates 28.7 KiB python3-libs x86_64 0:3.14.6-1.fc44 updates 43.9 MiB python3-numpy-f2py x86_64 1:2.4.6-1.fc44 updates 2.1 MiB python3-packaging noarch 0:25.0-8.fc44 fedora 607.4 KiB python3-rpm-generators noarch 0:14-14.fc44 fedora 81.7 KiB python3-rpm-macros noarch 0:3.14-12.fc44 fedora 6.5 KiB rhash x86_64 0:1.4.5-4.fc44 fedora 354.8 KiB rr-libstruct x86_64 0:2.9.2-0.3.git7ff1f47.fc44 copr_base 254.9 KiB suitesparse x86_64 0:7.11.0-2.fc44 fedora 45.9 MiB suitesparse64 x86_64 0:7.11.0-2.fc44 fedora 45.9 MiB sundials x86_64 0:7.6.0-1.fc44 fedora 4.1 MiB tzdata noarch 0:2026b-1.fc44 updates 1.2 MiB utf8proc x86_64 0:2.11.3-2.fc44 fedora 373.5 KiB utf8proc-devel x86_64 0:2.11.3-2.fc44 fedora 33.5 KiB vim-filesystem noarch 2:9.2.725-1.fc44 updates 40.0 B xz-devel x86_64 1:5.8.2-2.fc44 fedora 258.8 KiB zlib-ng-compat-devel x86_64 0:2.3.3-3.fc44 fedora 107.0 KiB Transaction Summary: Installing: 114 packages Total size of inbound packages is 325 MiB. Need to download 325 MiB. After this operation, 1 GiB extra will be used (install 1 GiB, remove 0 B). [ 1/114] chrpath-0:0.16-28.fc44.x86_64 100% | 2.7 MiB/s | 30.1 KiB | 00m00s [ 2/114] ninja-build-0:1.13.2-2.fc44.x 100% | 13.3 MiB/s | 203.9 KiB | 00m00s [ 3/114] blas-devel-0:3.12.0-11.fc44.x 100% | 6.5 MiB/s | 26.7 KiB | 00m00s [ 4/114] expat-devel-0:2.8.1-1.fc44.x8 100% | 7.8 MiB/s | 55.8 KiB | 00m00s [ 5/114] cmake-0:4.3.0-1.fc44.x86_64 100% | 229.0 MiB/s | 14.4 MiB | 00m00s [ 6/114] lapack-devel-0:3.12.0-11.fc44 100% | 14.7 MiB/s | 90.1 KiB | 00m00s [ 7/114] gcc-c++-0:16.1.1-2.fc44.x86_6 100% | 207.4 MiB/s | 17.2 MiB | 00m00s [ 8/114] f2c-0:20210928-12.fc44.x86_64 100% | 2.8 MiB/s | 322.3 KiB | 00m00s [ 9/114] ncurses-devel-0:6.6-1.fc44.x8 100% | 64.1 MiB/s | 591.2 KiB | 00m00s [ 10/114] poco-devel-0:1.14.1-3.fc44.x8 100% | 8.9 MiB/s | 1.2 MiB | 00m00s [ 11/114] python3-devel-0:3.14.6-1.fc44 100% | 61.2 MiB/s | 438.4 KiB | 00m00s [ 12/114] libsbml-devel-0:5.20.5-12.fc4 100% | 126.4 MiB/s | 47.4 MiB | 00m00s [ 13/114] python3-numpy-1:2.4.6-1.fc44. 100% | 36.0 MiB/s | 8.3 MiB | 00m00s [ 14/114] llvm13-devel-0:13.0.1-8.fc41. 100% | 6.3 MiB/s | 3.4 MiB | 00m01s [ 15/114] sundials-devel-0:7.6.0-1.fc44 100% | 25.4 MiB/s | 3.9 MiB | 00m00s [ 16/114] swig-0:4.4.1-4.fc44.x86_64 100% | 113.6 MiB/s | 1.7 MiB | 00m00s [ 17/114] f2c-libs-0:20210928-12.fc44.x 100% | 864.5 KiB/s | 65.7 KiB | 00m00s [ 18/114] blas-0:3.12.0-11.fc44.x86_64 100% | 93.9 MiB/s | 673.1 KiB | 00m00s [ 19/114] blas64-0:3.12.0-11.fc44.x86_6 100% | 42.5 MiB/s | 261.4 KiB | 00m00s [ 20/114] blas64_-0:3.12.0-11.fc44.x86_ 100% | 31.9 MiB/s | 261.6 KiB | 00m00s [ 21/114] cmake-filesystem-0:4.3.0-1.fc 100% | 2.9 MiB/s | 15.0 KiB | 00m00s [ 22/114] zlib-ng-compat-static-0:2.3.3 100% | 3.9 MiB/s | 483.3 KiB | 00m00s [ 23/114] jsoncpp-0:1.9.6-3.fc44.x86_64 100% | 26.9 MiB/s | 110.0 KiB | 00m00s [ 24/114] libuv-1:1.51.0-3.fc44.x86_64 100% | 65.9 MiB/s | 270.0 KiB | 00m00s [ 25/114] cmake-data-0:4.3.0-1.fc44.noa 100% | 178.7 MiB/s | 2.7 MiB | 00m00s [ 26/114] make-1:4.4.1-12.fc44.x86_64 100% | 143.7 MiB/s | 588.7 KiB | 00m00s [ 27/114] rhash-0:1.4.5-4.fc44.x86_64 100% | 65.7 MiB/s | 201.9 KiB | 00m00s [ 28/114] expat-0:2.8.1-1.fc44.x86_64 100% | 18.1 MiB/s | 129.7 KiB | 00m00s [ 29/114] gcc-0:16.1.1-2.fc44.x86_64 100% | 225.4 MiB/s | 43.1 MiB | 00m00s [ 30/114] lapack64-0:3.12.0-11.fc44.x86 100% | 176.3 MiB/s | 3.0 MiB | 00m00s [ 31/114] lapack-0:3.12.0-11.fc44.x86_6 100% | 46.4 MiB/s | 12.1 MiB | 00m00s [ 32/114] lapack64_-0:3.12.0-11.fc44.x8 100% | 29.1 MiB/s | 3.0 MiB | 00m00s [ 33/114] libsbml-0:5.20.5-12.fc44.x86_ 100% | 4.9 MiB/s | 2.5 MiB | 00m01s [ 34/114] rr-libstruct-devel-0:2.9.2-0. 100% | 25.7 KiB/s | 31.3 KiB | 00m01s [ 35/114] llvm13-0:13.0.1-8.fc41.x86_64 100% | 5.6 MiB/s | 10.4 MiB | 00m02s [ 36/114] ncurses-c++-libs-0:6.6-1.fc44 100% | 12.8 MiB/s | 39.5 KiB | 00m00s [ 37/114] poco-activerecord-0:1.14.1-3. 100% | 545.9 KiB/s | 18.6 KiB | 00m00s [ 38/114] poco-cppparser-0:1.14.1-3.fc4 100% | 488.8 KiB/s | 90.9 KiB | 00m00s [ 39/114] poco-crypto-0:1.14.1-3.fc44.x 100% | 2.8 MiB/s | 111.5 KiB | 00m00s [ 40/114] poco-data-0:1.14.1-3.fc44.x86 100% | 2.3 MiB/s | 616.6 KiB | 00m00s [ 41/114] poco-encodings-0:1.14.1-3.fc4 100% | 9.4 MiB/s | 442.5 KiB | 00m00s [ 42/114] poco-foundation-0:1.14.1-3.fc 100% | 7.4 MiB/s | 699.2 KiB | 00m00s [ 43/114] poco-json-0:1.14.1-3.fc44.x86 100% | 2.5 MiB/s | 146.1 KiB | 00m00s [ 44/114] poco-jwt-0:1.14.1-3.fc44.x86_ 100% | 3.4 MiB/s | 76.5 KiB | 00m00s [ 45/114] poco-mongodb-0:1.14.1-3.fc44. 100% | 3.6 MiB/s | 96.8 KiB | 00m00s [ 46/114] poco-mysql-0:1.14.1-3.fc44.x8 100% | 464.8 KiB/s | 74.8 KiB | 00m00s [ 47/114] poco-net-0:1.14.1-3.fc44.x86_ 100% | 4.5 MiB/s | 465.9 KiB | 00m00s [ 48/114] poco-netssl-0:1.14.1-3.fc44.x 100% | 568.1 KiB/s | 111.4 KiB | 00m00s [ 49/114] poco-odbc-0:1.14.1-3.fc44.x86 100% | 1.5 MiB/s | 305.1 KiB | 00m00s [ 50/114] poco-pdf-0:1.14.1-3.fc44.x86_ 100% | 7.5 MiB/s | 532.7 KiB | 00m00s [ 51/114] poco-postgresql-0:1.14.1-3.fc 100% | 2.8 MiB/s | 145.3 KiB | 00m00s [ 52/114] poco-prometheus-0:1.14.1-3.fc 100% | 1.8 MiB/s | 60.8 KiB | 00m00s [ 53/114] poco-redis-0:1.14.1-3.fc44.x8 100% | 356.5 KiB/s | 56.3 KiB | 00m00s [ 54/114] poco-sqlite-0:1.14.1-3.fc44.x 100% | 2.7 MiB/s | 146.9 KiB | 00m00s [ 55/114] poco-util-0:1.14.1-3.fc44.x86 100% | 858.2 KiB/s | 175.1 KiB | 00m00s [ 56/114] poco-xml-0:1.14.1-3.fc44.x86_ 100% | 4.5 MiB/s | 181.2 KiB | 00m00s [ 57/114] poco-zip-0:1.14.1-3.fc44.x86_ 100% | 2.3 MiB/s | 99.6 KiB | 00m00s [ 58/114] python3-libs-0:3.14.6-1.fc44. 100% | 247.2 MiB/s | 10.1 MiB | 00m00s [ 59/114] python3-numpy-f2py-1:2.4.6-1. 100% | 100.1 MiB/s | 512.5 KiB | 00m00s [ 60/114] flexiblas-netlib-0:3.5.0-2.fc 100% | 195.4 MiB/s | 4.5 MiB | 00m00s [ 61/114] llvm13-libs-0:13.0.1-8.fc41.x 100% | 5.3 MiB/s | 20.0 MiB | 00m04s [ 62/114] sundials-0:7.6.0-1.fc44.x86_6 100% | 33.4 MiB/s | 924.6 KiB | 00m00s [ 63/114] zlib-ng-compat-devel-0:2.3.3- 100% | 18.6 MiB/s | 38.1 KiB | 00m00s [ 64/114] emacs-filesystem-1:30.2-2.fc4 100% | 3.9 MiB/s | 8.0 KiB | 00m00s [ 65/114] cpp-0:16.1.1-2.fc44.x86_64 100% | 249.4 MiB/s | 14.5 MiB | 00m00s [ 66/114] minizip-ng-compat-0:4.1.0-1.f 100% | 17.1 MiB/s | 70.0 KiB | 00m00s [ 67/114] utf8proc-0:2.11.3-2.fc44.x86_ 100% | 27.0 MiB/s | 83.1 KiB | 00m00s [ 68/114] libiodbc-0:3.52.16-4.fc44.x86 100% | 5.2 MiB/s | 240.4 KiB | 00m00s [ 69/114] libpq-0:18.0-4.fc44.x86_64 100% | 54.1 MiB/s | 276.8 KiB | 00m00s [ 70/114] mpdecimal-0:4.0.1-3.fc44.x86_ 100% | 32.3 MiB/s | 99.1 KiB | 00m00s [ 71/114] python-pip-wheel-0:26.0.1-2.f 100% | 143.7 MiB/s | 1.1 MiB | 00m00s [ 72/114] flexiblas-0:3.5.0-2.fc44.x86_ 100% | 7.5 MiB/s | 23.1 KiB | 00m00s [ 73/114] flexiblas-openblas-openmp-0:3 100% | 5.6 MiB/s | 17.2 KiB | 00m00s [ 74/114] suitesparse-0:7.11.0-2.fc44.x 100% | 58.1 MiB/s | 8.0 MiB | 00m00s [ 75/114] rr-libstruct-0:2.9.2-0.3.git7 100% | 169.2 KiB/s | 102.6 KiB | 00m01s [ 76/114] openblas-openmp-0:0.3.29-2.fc 100% | 148.9 MiB/s | 5.4 MiB | 00m00s [ 77/114] openblas-serial-0:0.3.29-2.fc 100% | 57.7 MiB/s | 5.1 MiB | 00m00s [ 78/114] libgfortran-0:16.1.1-2.fc44.x 100% | 106.6 MiB/s | 982.6 KiB | 00m00s [ 79/114] libpng-2:1.6.58-1.fc44.x86_64 100% | 42.2 MiB/s | 129.5 KiB | 00m00s [ 80/114] mariadb-connector-c-0:3.4.9-1 100% | 51.3 MiB/s | 210.1 KiB | 00m00s [ 81/114] mariadb-connector-c-config-0: 100% | 7.0 MiB/s | 21.5 KiB | 00m00s [ 82/114] openssl-devel-1:3.5.7-1.fc44. 100% | 116.3 MiB/s | 3.0 MiB | 00m00s [ 83/114] pcre2-devel-0:10.47-1.fc44.1. 100% | 107.6 MiB/s | 550.9 KiB | 00m00s [ 84/114] pcre2-utf16-0:10.47-1.fc44.1. 100% | 50.1 MiB/s | 256.3 KiB | 00m00s [ 85/114] pcre2-utf32-0:10.47-1.fc44.1. 100% | 59.1 MiB/s | 242.2 KiB | 00m00s [ 86/114] utf8proc-devel-0:2.11.3-2.fc4 100% | 102.0 KiB/s | 17.5 KiB | 00m00s [ 87/114] openblas-0:0.3.29-2.fc43.x86_ 100% | 13.8 MiB/s | 42.3 KiB | 00m00s [ 88/114] python3-0:3.14.6-1.fc44.x86_6 100% | 14.1 MiB/s | 28.8 KiB | 00m00s [ 89/114] vim-filesystem-2:9.2.725-1.fc 100% | 7.8 MiB/s | 16.0 KiB | 00m00s [ 90/114] libedit-0:3.1-59.20260512cvs. 100% | 35.9 MiB/s | 110.4 KiB | 00m00s [ 91/114] libedit-devel-0:3.1-59.202605 100% | 10.0 MiB/s | 41.0 KiB | 00m00s [ 92/114] libquadmath-0:16.1.1-2.fc44.x 100% | 65.7 MiB/s | 201.9 KiB | 00m00s [ 93/114] gcc-gfortran-0:16.1.1-2.fc44. 100% | 194.4 MiB/s | 16.1 MiB | 00m00s [ 94/114] tzdata-0:2026b-1.fc44.noarch 100% | 116.1 MiB/s | 713.4 KiB | 00m00s [ 95/114] libxml2-devel-0:2.12.10-6.fc4 100% | 102.3 MiB/s | 523.6 KiB | 00m00s [ 96/114] xz-devel-1:5.8.2-2.fc44.x86_6 100% | 32.7 MiB/s | 67.0 KiB | 00m00s [ 97/114] libmpc-0:1.4.1-1.fc44.x86_64 100% | 24.6 MiB/s | 75.5 KiB | 00m00s [ 98/114] libquadmath-devel-0:16.1.1-2. 100% | 10.2 MiB/s | 42.0 KiB | 00m00s [ 99/114] libstdc++-devel-0:16.1.1-2.fc 100% | 198.8 MiB/s | 6.0 MiB | 00m00s [100/114] glibc-devel-0:2.43-6.fc44.x86 100% | 120.2 MiB/s | 615.6 KiB | 00m00s [101/114] libxcrypt-devel-0:4.5.2-3.fc4 100% | 9.8 MiB/s | 30.0 KiB | 00m00s [102/114] libatomic-0:16.1.1-2.fc44.x86 100% | 16.3 MiB/s | 50.2 KiB | 00m00s [103/114] kernel-headers-0:7.0.6-200.fc 100% | 158.1 MiB/s | 1.7 MiB | 00m00s [104/114] gcc-plugin-annobin-0:16.1.1-2 100% | 13.1 MiB/s | 53.6 KiB | 00m00s [105/114] cmake-rpm-macros-0:4.3.0-1.fc 100% | 3.4 MiB/s | 13.8 KiB | 00m00s [106/114] pyproject-rpm-macros-0:1.22.2 100% | 10.4 MiB/s | 53.2 KiB | 00m00s [107/114] python-rpm-macros-0:3.14-12.f 100% | 3.9 MiB/s | 20.0 KiB | 00m00s [108/114] python3-rpm-generators-0:14-1 100% | 14.0 MiB/s | 28.6 KiB | 00m00s [109/114] python3-rpm-macros-0:3.14-12. 100% | 3.0 MiB/s | 12.4 KiB | 00m00s [110/114] python3-packaging-0:25.0-8.fc 100% | 52.5 MiB/s | 161.2 KiB | 00m00s [111/114] annobin-plugin-gcc-0:13.14-1. 100% | 133.7 MiB/s | 684.4 KiB | 00m00s [112/114] annobin-docs-0:13.14-1.fc44.n 100% | 42.3 MiB/s | 86.7 KiB | 00m00s [113/114] llvm13-static-0:13.0.1-8.fc41 100% | 6.1 MiB/s | 29.4 MiB | 00m05s [114/114] suitesparse64-0:7.11.0-2.fc44 100% | 6.3 MiB/s | 8.0 MiB | 00m01s -------------------------------------------------------------------------------- [114/114] Total 100% | 46.9 MiB/s | 325.0 MiB | 00m07s Running transaction [ 1/116] Verify package files 100% | 110.0 B/s | 114.0 B | 00m01s [ 2/116] Prepare transaction 100% | 786.0 B/s | 114.0 B | 00m00s [ 3/116] Installing libgfortran-0:16.1 100% | 425.3 MiB/s | 3.4 MiB | 00m00s [ 4/116] Installing cmake-filesystem-0 100% | 9.1 MiB/s | 9.4 KiB | 00m00s [ 5/116] Installing libmpc-0:1.4.1-1.f 100% | 166.4 MiB/s | 170.4 KiB | 00m00s [ 6/116] Installing expat-0:2.8.1-1.fc 100% | 26.8 MiB/s | 329.5 KiB | 00m00s [ 7/116] Installing zlib-ng-compat-dev 100% | 0.0 B/s | 108.6 KiB | 00m00s [ 8/116] Installing python-rpm-macros- 100% | 0.0 B/s | 28.9 KiB | 00m00s [ 9/116] Installing libquadmath-0:16.1 100% | 319.5 MiB/s | 327.2 KiB | 00m00s [ 10/116] Installing python3-rpm-macros 100% | 6.6 MiB/s | 6.8 KiB | 00m00s [ 11/116] Installing blas-0:3.12.0-11.f 100% | 61.7 MiB/s | 1.5 MiB | 00m00s [ 12/116] Installing lapack-0:3.12.0-11 100% | 132.5 MiB/s | 17.6 MiB | 00m00s [ 13/116] Installing blas64-0:3.12.0-11 100% | 515.6 MiB/s | 1.0 MiB | 00m00s [ 14/116] Installing blas64_-0:3.12.0-1 100% | 517.0 MiB/s | 1.0 MiB | 00m00s [ 15/116] Installing libedit-0:3.1-59.2 100% | 244.1 MiB/s | 250.0 KiB | 00m00s [ 16/116] Installing llvm13-libs-0:13.0 100% | 516.3 MiB/s | 83.6 MiB | 00m00s [ 17/116] Installing vim-filesystem-2:9 100% | 0.0 B/s | 4.8 KiB | 00m00s [ 18/116] Installing openblas-0:0.3.29- 100% | 0.0 B/s | 113.5 KiB | 00m00s [ 19/116] Installing utf8proc-0:2.11.3- 100% | 366.1 MiB/s | 374.9 KiB | 00m00s [ 20/116] Installing poco-foundation-0: 100% | 452.6 MiB/s | 2.3 MiB | 00m00s [ 21/116] Installing poco-data-0:1.14.1 100% | 480.8 MiB/s | 2.4 MiB | 00m00s [ 22/116] Installing poco-net-0:1.14.1- 100% | 484.3 MiB/s | 1.5 MiB | 00m00s [ 23/116] Installing poco-crypto-0:1.14 100% | 309.6 MiB/s | 317.1 KiB | 00m00s [ 24/116] Installing poco-json-0:1.14.1 100% | 400.4 MiB/s | 410.0 KiB | 00m00s [ 25/116] Installing poco-xml-0:1.14.1- 100% | 282.9 MiB/s | 579.3 KiB | 00m00s [ 26/116] Installing poco-util-0:1.14.1 100% | 532.8 MiB/s | 545.6 KiB | 00m00s [ 27/116] Installing make-1:4.4.1-12.fc 100% | 120.0 MiB/s | 1.8 MiB | 00m00s [ 28/116] Installing poco-netssl-0:1.14 100% | 329.4 MiB/s | 337.3 KiB | 00m00s [ 29/116] Installing poco-jwt-0:1.14.1- 100% | 211.9 MiB/s | 217.0 KiB | 00m00s [ 30/116] Installing poco-mongodb-0:1.1 100% | 243.2 MiB/s | 249.0 KiB | 00m00s [ 31/116] Installing poco-prometheus-0: 100% | 144.1 MiB/s | 147.6 KiB | 00m00s [ 32/116] Installing poco-redis-0:1.14. 100% | 147.3 MiB/s | 150.9 KiB | 00m00s [ 33/116] Installing poco-activerecord- 100% | 0.0 B/s | 28.6 KiB | 00m00s [ 34/116] Installing poco-sqlite-0:1.14 100% | 537.6 MiB/s | 550.5 KiB | 00m00s [ 35/116] Installing poco-cppparser-0:1 100% | 229.8 MiB/s | 235.3 KiB | 00m00s [ 36/116] Installing poco-encodings-0:1 100% | 438.1 MiB/s | 897.2 KiB | 00m00s [ 37/116] Installing poco-zip-0:1.14.1- 100% | 251.0 MiB/s | 257.0 KiB | 00m00s [ 38/116] Installing utf8proc-devel-0:2 100% | 0.0 B/s | 34.0 KiB | 00m00s [ 39/116] Installing openblas-openmp-0: 100% | 704.6 MiB/s | 43.7 MiB | 00m00s [ 40/116] Installing flexiblas-netlib-0 100% | 379.7 MiB/s | 16.3 MiB | 00m00s [ 41/116] Installing flexiblas-0:3.5.0- 100% | 0.0 B/s | 39.2 KiB | 00m00s [ 42/116] Installing flexiblas-openblas 100% | 39.0 MiB/s | 39.9 KiB | 00m00s [ 43/116] Installing suitesparse-0:7.11 100% | 580.9 MiB/s | 45.9 MiB | 00m00s [ 44/116] Installing openblas-serial-0: 100% | 703.6 MiB/s | 41.5 MiB | 00m00s [ 45/116] Installing suitesparse64-0:7. 100% | 580.9 MiB/s | 45.9 MiB | 00m00s [ 46/116] Installing sundials-0:7.6.0-1 100% | 372.4 MiB/s | 4.1 MiB | 00m00s [ 47/116] Installing llvm13-0:13.0.1-8. 100% | 411.8 MiB/s | 36.2 MiB | 00m00s [ 48/116] Installing lapack64_-0:3.12.0 100% | 466.5 MiB/s | 9.8 MiB | 00m00s [ 49/116] Installing lapack64-0:3.12.0- 100% | 465.6 MiB/s | 9.8 MiB | 00m00s [ 50/116] Installing pyproject-rpm-macr 100% | 146.0 MiB/s | 149.5 KiB | 00m00s [ 51/116] Installing expat-devel-0:2.8. 100% | 231.5 MiB/s | 237.1 KiB | 00m00s [ 52/116] Installing cpp-0:16.1.1-2.fc4 100% | 404.6 MiB/s | 42.1 MiB | 00m00s [ 53/116] Installing annobin-docs-0:13. 100% | 49.1 MiB/s | 100.5 KiB | 00m00s [ 54/116] Installing kernel-headers-0:7 100% | 252.6 MiB/s | 7.1 MiB | 00m00s [ 55/116] Installing glibc-devel-0:2.43 100% | 216.7 MiB/s | 2.4 MiB | 00m00s [ 56/116] Installing libxcrypt-devel-0: 100% | 32.5 MiB/s | 33.3 KiB | 00m00s [ 57/116] Installing libatomic-0:16.1.1 100% | 45.6 MiB/s | 46.7 KiB | 00m00s [ 58/116] Installing gcc-0:16.1.1-2.fc4 100% | 456.1 MiB/s | 120.9 MiB | 00m00s [ 59/116] Installing libquadmath-devel- 100% | 23.1 MiB/s | 23.7 KiB | 00m00s [ 60/116] Installing gcc-gfortran-0:16. 100% | 399.7 MiB/s | 44.8 MiB | 00m00s [ 61/116] Installing blas-devel-0:3.12. 100% | 44.5 MiB/s | 136.6 KiB | 00m00s [ 62/116] Installing libstdc++-devel-0: 100% | 550.9 MiB/s | 41.3 MiB | 00m00s [ 63/116] Installing xz-devel-1:5.8.2-2 100% | 256.4 MiB/s | 262.6 KiB | 00m00s [ 64/116] Installing libxml2-devel-0:2. 100% | 162.7 MiB/s | 3.4 MiB | 00m00s [ 65/116] Installing tzdata-0:2026b-1.f 100% | 63.0 MiB/s | 1.5 MiB | 00m00s [ 66/116] Installing pcre2-utf32-0:10.4 100% | 304.7 MiB/s | 623.9 KiB | 00m00s [ 67/116] Installing pcre2-utf16-0:10.4 100% | 213.6 MiB/s | 656.1 KiB | 00m00s [ 68/116] Installing pcre2-devel-0:10.4 100% | 96.3 MiB/s | 2.1 MiB | 00m00s [ 69/116] Installing openssl-devel-1:3. 100% | 82.6 MiB/s | 5.5 MiB | 00m00s [ 70/116] Installing mariadb-connector- 100% | 0.0 B/s | 27.2 KiB | 00m00s [ 71/116] Installing mariadb-connector- 100% | 247.6 MiB/s | 507.0 KiB | 00m00s [ 72/116] Installing poco-mysql-0:1.14. 100% | 214.4 MiB/s | 219.5 KiB | 00m00s [ 73/116] Installing libpng-2:1.6.58-1. 100% | 245.0 MiB/s | 250.9 KiB | 00m00s [ 74/116] Installing poco-pdf-0:1.14.1- 100% | 343.0 MiB/s | 1.0 MiB | 00m00s [ 75/116] Installing python-pip-wheel-0 100% | 611.4 MiB/s | 1.2 MiB | 00m00s [ 76/116] Installing mpdecimal-0:4.0.1- 100% | 42.7 MiB/s | 218.6 KiB | 00m00s [ 77/116] Installing python3-libs-0:3.1 100% | 406.1 MiB/s | 44.3 MiB | 00m00s [ 78/116] Installing python3-0:3.14.6-1 100% | 2.7 MiB/s | 30.5 KiB | 00m00s [ 79/116] Installing ninja-build-0:1.13 100% | 40.7 MiB/s | 499.6 KiB | 00m00s [ 80/116] Installing cmake-rpm-macros-0 100% | 2.9 MiB/s | 9.0 KiB | 00m00s [ 81/116] Installing python3-numpy-1:2. 100% | 404.0 MiB/s | 42.0 MiB | 00m00s [ 82/116] Installing python3-numpy-f2py 100% | 114.8 MiB/s | 2.2 MiB | 00m00s [ 83/116] Installing python3-packaging- 100% | 302.7 MiB/s | 619.9 KiB | 00m00s [ 84/116] Installing python3-rpm-genera 100% | 0.0 B/s | 82.9 KiB | 00m00s [ 85/116] Installing libpq-0:18.0-4.fc4 100% | 338.5 MiB/s | 1.0 MiB | 00m00s [ 86/116] Installing poco-postgresql-0: 100% | 469.2 MiB/s | 480.4 KiB | 00m00s [ 87/116] Installing libiodbc-0:3.52.16 100% | 51.3 MiB/s | 683.5 KiB | 00m00s [ 88/116] Installing poco-odbc-0:1.14.1 100% | 548.5 MiB/s | 1.1 MiB | 00m00s [ 89/116] Installing minizip-ng-compat- 100% | 163.3 MiB/s | 167.2 KiB | 00m00s [ 90/116] Installing libsbml-0:5.20.5-1 100% | 481.4 MiB/s | 10.1 MiB | 00m00s [ 91/116] Installing libsbml-devel-0:5. 100% | 618.6 MiB/s | 383.5 MiB | 00m01s [ 92/116] Installing rr-libstruct-0:2.9 100% | 249.7 MiB/s | 255.7 KiB | 00m00s [ 93/116] Installing emacs-filesystem-1 100% | 0.0 B/s | 812.0 B | 00m00s [ 94/116] Installing ncurses-c++-libs-0 100% | 79.4 MiB/s | 162.6 KiB | 00m00s [ 95/116] Installing ncurses-devel-0:6. 100% | 46.3 MiB/s | 1.0 MiB | 00m00s [ 96/116] Installing libedit-devel-0:3. 100% | 65.9 MiB/s | 67.5 KiB | 00m00s [ 97/116] Installing llvm13-static-0:13 100% | 601.5 MiB/s | 221.4 MiB | 00m00s [ 98/116] Installing rhash-0:1.4.5-4.fc 100% | 29.3 MiB/s | 360.1 KiB | 00m00s [ 99/116] Installing libuv-1:1.51.0-3.f 100% | 285.9 MiB/s | 585.6 KiB | 00m00s [100/116] Installing jsoncpp-0:1.9.6-3. 100% | 35.0 MiB/s | 287.1 KiB | 00m00s [101/116] Installing cmake-data-0:4.3.0 100% | 148.2 MiB/s | 10.1 MiB | 00m00s [102/116] Installing cmake-0:4.3.0-1.fc 100% | 404.9 MiB/s | 40.5 MiB | 00m00s [103/116] Installing f2c-libs-0:2021092 100% | 131.0 MiB/s | 134.1 KiB | 00m00s [104/116] Installing f2c-0:20210928-12. 100% | 39.4 MiB/s | 686.0 KiB | 00m00s [105/116] Installing llvm13-devel-0:13. 100% | 259.6 MiB/s | 20.5 MiB | 00m00s [106/116] Installing rr-libstruct-devel 100% | 61.0 MiB/s | 187.4 KiB | 00m00s [107/116] Installing poco-devel-0:1.14. 100% | 181.1 MiB/s | 6.5 MiB | 00m00s [108/116] Installing python3-devel-0:3. 100% | 111.4 MiB/s | 2.0 MiB | 00m00s [109/116] Installing gcc-c++-0:16.1.1-2 100% | 406.9 MiB/s | 46.4 MiB | 00m00s [110/116] Installing lapack-devel-0:3.1 100% | 534.1 MiB/s | 1.6 MiB | 00m00s [111/116] Installing gcc-plugin-annobin 100% | 5.7 MiB/s | 58.6 KiB | 00m00s [112/116] Installing annobin-plugin-gcc 100% | 52.7 MiB/s | 701.0 KiB | 00m00s [113/116] Installing sundials-devel-0:7 100% | 569.1 MiB/s | 29.0 MiB | 00m00s [114/116] Installing zlib-ng-compat-sta 100% | 348.7 MiB/s | 2.1 MiB | 00m00s [115/116] Installing swig-0:4.4.1-4.fc4 100% | 189.0 MiB/s | 6.2 MiB | 00m00s [116/116] Installing chrpath-0:0.16-28. 100% | 451.6 KiB/s | 60.1 KiB | 00m00s Warning: skipped OpenPGP checks for 2 packages from repository: copr_base Complete! Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1782518400 Wrote: /builddir/build/SRPMS/libroadrunner-2.9.2-2.fc44.src.rpm Updating and loading repositories: updates 100% | 19.3 KiB/s | 6.9 KiB | 00m00s fedora 100% | 89.2 KiB/s | 27.2 KiB | 00m00s Copr repository 100% | 102.1 KiB/s | 1.5 KiB | 00m00s Repositories loaded. Package "blas-devel-3.12.0-11.fc44.x86_64" is already installed. Package "chrpath-0.16-28.fc44.x86_64" is already installed. Package "cmake-4.3.0-1.fc44.x86_64" is already installed. Package "expat-devel-2.8.1-1.fc44.x86_64" is already installed. Package "f2c-20210928-12.fc44.x86_64" is already installed. Package "gcc-c++-16.1.1-2.fc44.x86_64" is already installed. Package "lapack-devel-3.12.0-11.fc44.x86_64" is already installed. Package "libsbml-devel-5.20.5-12.fc44.x86_64" is already installed. Package "llvm13-devel-13.0.1-8.fc41.x86_64" is already installed. Package "ncurses-devel-6.6-1.fc44.x86_64" is already installed. Package "ninja-build-1.13.2-2.fc44.x86_64" is already installed. Package "poco-devel-1.14.1-3.fc44.x86_64" is already installed. Package "python3-devel-3.14.6-1.fc44.x86_64" is already installed. Package "python3-numpy-1:2.4.6-1.fc44.x86_64" is already installed. Package "rr-libstruct-devel-2.9.2-0.3.git7ff1f47.fc44.x86_64" is already installed. Package "sundials-devel-7.6.0-1.fc44.x86_64" is already installed. Package "swig-4.4.1-4.fc44.x86_64" is already installed. Package "zlib-ng-compat-static-2.3.3-3.fc44.x86_64" is already installed. Nothing to do. Finish: build setup for libroadrunner-2.9.2-2.fc44.src.rpm Start: rpmbuild libroadrunner-2.9.2-2.fc44.src.rpm Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1782518400 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.Kclf1Z Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.FCFSoI + umask 022 + cd /builddir/build/BUILD/libroadrunner-2.9.2-build + cd /builddir/build/BUILD/libroadrunner-2.9.2-build + rm -rf libroadrunner-2.9.2 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/libroadrunner-2.9.2.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd libroadrunner-2.9.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + bash /builddir/build/SOURCES/libroadrunner-fedora-transform.sh . RoadRunner transform applied. + sed -i '\#include "llvm/Transforms/InstCombine/InstCombine.h"#i #include ' source/llvm/LLVMIncludes.h + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.XtlNRo + umask 022 + cd /builddir/build/BUILD/libroadrunner-2.9.2-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 libroadrunner-2.9.2 + export LLVM_DIR=/usr/lib64/llvm13 + LLVM_DIR=/usr/lib64/llvm13 + 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/llvm13 -DBUILD_PYTHON=ON -DBUILD_LLVM=ON -DBUILD_RR_CAPI=ON -DBUILD_TESTS=OFF -- The CXX compiler identification is GNU 16.1.1 -- The C compiler identification is GNU 16.1.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 CMake Deprecation Warning at CMakeLists.txt:35 (cmake_policy): The OLD behavior for policy CMP0115 will be removed from a future version of CMake. The cmake-policies(7) manual explains that the OLD behaviors of all policies are deprecated and that a policy should be set to OLD only under specific short-term circumstances. Projects should be ported to the NEW behavior and not rely on setting a policy to OLD. -- Build on 64-bit platform could not find git -- ROADRUNNER_GIT_BRANCH : git not found, unknown git branch -- ROADRUNNER_GIT_LAST_COMMIT : git not found, unknown git commit -- Found Python: /usr/bin/python3.14 (found version "3.14.6") found components: Interpreter Development NumPy Development.Module Development.Embed -- PROJECT_BINARY_DIR /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2 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.9.2-build/libroadrunner-2.9.2/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.1 expat::expat LOCATION_Release = /usr/lib64/libexpat.so.1.12.1 expat::expat MACOSX_PACKAGE_LOCATION = /usr/lib64/libexpat.so.1.12.1 expat::expat NAME = expat::expat expat::expat POSITION_INDEPENDENT_CODE = True expat::expat SOURCE_DIR = /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2 expat::expat SYSTEM = ON expat::expat TYPE = SHARED_LIBRARY expat::expat VS_DEPLOYMENT_LOCATION = /usr/lib64/libexpat.so.1.12.1 -- EXPAT_LIBRARY: /usr/lib64/libexpat.so.1.12.1 -- 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.1 (found version "2.8.1") -- LLVM llvm-config found at: /usr/lib64/llvm13/bin/llvm-config -- Found LLVM: /usr/lib64/llvm13/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/llvm13/include -std=c++14 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -- LLVM_LIBRARIES /usr/lib64/llvm13/lib/libLLVM-13.so} -- SWIG_EXECUTABLE /usr/bin/swig -- SWIG_DIR /usr/share/swig/4.4.1 -- SWIG_USE_FILE /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/cmake/UseSWIG.cmake -- Found SWIG: /usr/bin/swig (found suitable version "4.4.1", minimum required is "4.0.1") found components: python java -- SWIG found: /usr/bin/swig -- swig_version 4.4.1 PYTHON_PACKAGE_BUILD_PREFIX /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/redhat-linux-build/lib/site-packages/roadrunner CMake Deprecation Warning at /usr/share/cmake/Modules/UseSWIG.cmake:1110 (message): SWIG_LINK_LIBRARIES is deprecated. Use TARGET_LINK_LIBRARIES instead. Call Stack (most recent call first): wrappers/Python/roadrunner/CMakeLists.txt:106 (swig_link_libraries) -- NOT building tests -- ######################################################## # Build Summary for libroadrunner 2.9.2 ######################################################## 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.9.2 CMAKE_CXX_COMPILER_ID GNU CMAKE_CXX_COMPILER_VERSION 16.1.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.9.2-build/libroadrunner-2.9.2/redhat-linux-build/bin CMAKE_LIBRARY_OUTPUT_DIRECTORY /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/redhat-linux-build/lib CMAKE_ARCHIVE_OUTPUT_DIRECTORY /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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/llvm13 Build test tools? OFF Build tests? OFF 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.9.2-build/libroadrunner-2.9.2/redhat-linux-build/lib/site-packages PYTHON_PACKAGE_BUILD_PREFIX /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/redhat-linux-build/lib/site-packages/roadrunner RR_PYTHON_TESTING_BUILD_PREFIX /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.14 Python_INTERPRETER_ID Python IronPython Python_STDLIB /usr/lib64/python3.14 Python_STDARCH /usr/lib64/python3.14 Python_SITELIB /usr/lib/python3.14/site-packages Python_SITEARCH /usr/lib64/python3.14/site-packages Python_SOABI cpython-314-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.14 Python_LINK_OPTIONS Python_LIBRARY Python_LIBRARIES /usr/lib64/libpython3.14.so Python_LIBRARY_DIRS /usr/lib64 Python_RUNTIME_LIBRARY_DIRS /usr/lib64 Python_VERSION 3.14.6 Python_VERSION_MAJOR 3 Python_VERSION_MINOR 14 Python_VERSION_PATCH 6 Python_PyPy_VERSION Python_NumPy_FOUND TRUE Python_NumPy_INCLUDE_DIRS /usr/lib64/python3.14/site-packages/numpy/_core/include Python_NumPy_VERSION 2.4.6 End Summary ################################################################################ -- Configuring done (1.4s) -- Generating done (0.0s) 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.9.2-build/libroadrunner-2.9.2/redhat-linux-build + /usr/bin/cmake --build redhat-linux-build -j4 --verbose Change Dir: '/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/redhat-linux-build' Run Build Command(s): /usr/bin/ninja-build -v -j 4 [1/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrGetOptions.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrGetOptions.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop [2/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrException.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrException.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop [3/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrConstants.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrConstants.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrConstants.cpp:2: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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++) { | ~~^~~~~~~ [4/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrExecutableModel.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrExecutableModel.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop [5/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrLogger.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrLogger.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrLogger.cpp:5: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrConfig.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrConfig.cpp: In static member function ‘static std::vector > rr::Config::getKeyList()’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrConfig.cpp:10: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrConfig.cpp: At global scope: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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) { | ^~~~~ [7/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrRoadRunnerOptions.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunnerOptions.cpp:6: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 6 | #pragma hdrstop /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunnerOptions.cpp: In member function ‘void rr::SimulateOptions::loadSBMLSettings(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunnerOptions.cpp:83:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 83 | for (int i = 0; i < lines.size(); i++) { | ~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunnerOptions.cpp:111:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 111 | for (int i = 0; i < vars.size(); i++) { | ~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunnerOptions.cpp:122:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 122 | for (int i = 0; i < vars.size(); i++) { | ~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunnerOptions.cpp:133:35: 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 < vars.size(); i++) { | ~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunnerOptions.cpp: In member function ‘virtual void rr::SimulateOptions::initialize()’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunnerOptions.cpp:229:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 229 | if (steps != times.size() - 1) { | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunnerOptions.cpp:10: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/Dictionary.h:11, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunnerOptions.h:12, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunnerOptions.cpp:8: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrRoadRunnerOptions.cpp:349:96: required from here 349 | (Config::LLVM_BACKEND_VALUES) Config::getValue(Config::LLVM_BACKEND).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrRoadRunnerOptions.cpp:349:96: required from here 349 | (Config::LLVM_BACKEND_VALUES) Config::getValue(Config::LLVM_BACKEND).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrRoadRunnerOptions.cpp:349:96: required from here 349 | (Config::LLVM_BACKEND_VALUES) Config::getValue(Config::LLVM_BACKEND).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrRoadRunnerOptions.cpp:349:96: required from here 349 | (Config::LLVM_BACKEND_VALUES) Config::getValue(Config::LLVM_BACKEND).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrRoadRunnerOptions.cpp:349:96: required from here 349 | (Config::LLVM_BACKEND_VALUES) Config::getValue(Config::LLVM_BACKEND).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrRoadRunnerOptions.cpp:349:96: required from here 349 | (Config::LLVM_BACKEND_VALUES) Config::getValue(Config::LLVM_BACKEND).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrRoadRunnerOptions.cpp:349:96: required from here 349 | (Config::LLVM_BACKEND_VALUES) Config::getValue(Config::LLVM_BACKEND).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrRoadRunnerOptions.cpp:349:96: required from here 349 | (Config::LLVM_BACKEND_VALUES) Config::getValue(Config::LLVM_BACKEND).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrRoadRunnerOptions.cpp:349:96: required from here 349 | (Config::LLVM_BACKEND_VALUES) Config::getValue(Config::LLVM_BACKEND).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [8/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrUtils.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrUtils.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrUtils.cpp: In function ‘bool rr::cleanFolder(const std::string&, const std::string&, const std::vector >&)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrUtils.cpp: In function ‘std::string rr::getFileContent(std::filesystem::__cxx11::path)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrUtils.cpp: In function ‘bool rr::copyValues(std::vector&, double*, const int&, const int&)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrUtils.cpp: In function ‘bool rr::copyStdVectorToCArray(const std::vector&, double*, int)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrUtils.cpp: In function ‘bool rr::copyStdVectorToCArray(const std::vector&, bool*, int)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrUtils.cpp: In function ‘double* rr::createVector(const std::vector&)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrUtils.cpp:38: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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++) { | ~~^~~~~~~ [9/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrStringUtils.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrStringUtils.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrStringUtils.cpp: In function ‘std::string rr::removeChars(const std::string&, const std::string&)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrStringUtils.cpp: In function ‘size_t rr::findMatchingRightParenthesis(const std::string&, size_t)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrStringUtils.cpp: In function ‘int rr::getNumberOfFunctionArguments(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrStringUtils.cpp: In function ‘std::string rr::dblToStr(const double&)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrStringUtils.cpp:498:11: warning: unused variable ‘ptr’ [-Wunused-variable] 498 | char* ptr = gcvt(nt, sig, str); | ^~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrStringUtils.cpp: In function ‘std::string rr::toString(const std::vector >&, const std::string&)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrStringUtils.cpp:11: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/Dictionary.cpp [11/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/Integrator.cpp In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Matrix3D.h:8, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/SensitivitySolver.h:9, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/ForwardSensitivitySolver.h:10, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.h:26, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Integrator.cpp:17: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Matrix.h:39:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Matrix.h:39:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Matrix.h:45:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 45 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Matrix.h:45:32: note: remove the ‘< >’ In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Integrator.h:21, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Integrator.cpp:16: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/Integrator.cpp:19: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/Integrator.cpp:20: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/EulerIntegrator.h: In member function ‘virtual double rr::EulerIntegrator::integrate(double, double)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/EulerIntegrator.h:151:37: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 151 | for (int k_ = 0; k_ < eventStatus.size(); ++k_) { | ~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Solver.h: At global scope: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/Integrator.cpp:21: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/RK45Integrator.h:125:25: note: by ‘virtual rr::Setting rr::RK45Integrator::getValue(std::string)’ 125 | virtual Setting getValue(std::string key); | ^~~~~~~~ In file included from /usr/lib64/llvm13/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm13/include/llvm/PassSupport.h:29, from /usr/lib64/llvm13/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:25, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/ForwardSensitivitySolver.h:13: /usr/lib64/llvm13/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/llvm13/include/llvm/Transforms/InstCombine/InstCombineWorklist.h:120:22: required from here 120 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm13/include/llvm/ADT/DenseMap.h:128:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 128 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Dictionary.h:11, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Integrator.h:19: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/EulerIntegrator.h:112:42: required from here 112 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/EulerIntegrator.h:112:42: required from here 112 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/EulerIntegrator.h:112:42: required from here 112 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/EulerIntegrator.h:112:42: required from here 112 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/EulerIntegrator.h:112:42: required from here 112 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/EulerIntegrator.h:112:42: required from here 112 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/EulerIntegrator.h:112:42: required from here 112 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/EulerIntegrator.h:112:42: required from here 112 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/EulerIntegrator.h:112:42: required from here 112 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h: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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:38: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions 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.9.2-build/libroadrunner-2.9.2/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions 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/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/GillespieIntegrator.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/GillespieIntegrator.cpp: In member function ‘void rr::GillespieIntegrator::setEngineSeed(rr::Setting)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/GillespieIntegrator.cpp:427:18: warning: comparison of integer expressions of different signedness: ‘uint64_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 427 | if (seed != -1) { | ~~~~~^~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/GillespieIntegrator.cpp:9: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/Dictionary.h:11, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Integrator.h:19, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/GillespieIntegrator.h:19, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/GillespieIntegrator.cpp:8: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/GillespieIntegrator.cpp:308:31: required from here 308 | if ((bool)getValue("nonnegative")) { | ~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/GillespieIntegrator.cpp:308:31: required from here 308 | if ((bool)getValue("nonnegative")) { | ~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/GillespieIntegrator.cpp:308:31: required from here 308 | if ((bool)getValue("nonnegative")) { | ~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/GillespieIntegrator.cpp:308:31: required from here 308 | if ((bool)getValue("nonnegative")) { | ~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/GillespieIntegrator.cpp:308:31: required from here 308 | if ((bool)getValue("nonnegative")) { | ~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/GillespieIntegrator.cpp:308:31: required from here 308 | if ((bool)getValue("nonnegative")) { | ~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/GillespieIntegrator.cpp:308:31: required from here 308 | if ((bool)getValue("nonnegative")) { | ~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/GillespieIntegrator.cpp:308:31: required from here 308 | if ((bool)getValue("nonnegative")) { | ~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/GillespieIntegrator.cpp:308:31: required from here 308 | if ((bool)getValue("nonnegative")) { | ~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [13/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/RK4Integrator.cpp In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Integrator.h:21, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/RK4Integrator.h:11, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/RK4Integrator.cpp:8: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/RK4Integrator.cpp: In member function ‘virtual double rr::RK4Integrator::integrate(double, double)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/RK4Integrator.cpp:72:29: warning: unused variable ‘epsilon’ [-Wunused-variable] 72 | static const double epsilon = 1e-12; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/RK4Integrator.cpp:74:14: warning: variable ‘singleStep’ set but not used [-Wunused-but-set-variable=] 74 | bool singleStep; | ^~~~~~~~~~ [14/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrTestSuiteModelSimulation.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrTestSuiteModelSimulation.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrTestSuiteModelSimulation.cpp: In member function ‘bool rr::TestSuiteModelSimulation::LoadReferenceData(std::filesystem::__cxx11::path)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrTestSuiteModelSimulation.cpp: In member function ‘bool rr::TestSuiteModelSimulation::SaveAllData()’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrSBMLModelSimulation.h:7, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrTestSuiteModelSimulation.h:5, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrTestSuiteModelSimulation.cpp:7: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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++) { | ~~^~~~~~~ [15/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/RK45Integrator.cpp In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Integrator.h:21, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/RK45Integrator.h:17, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/RK45Integrator.cpp:9: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/RK45Integrator.h:125:25: note: by ‘virtual rr::Setting rr::RK45Integrator::getValue(std::string)’ 125 | virtual Setting getValue(std::string key); | ^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/RK45Integrator.cpp: In member function ‘virtual double rr::RK45Integrator::integrate(double, double)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/RK45Integrator.cpp:164:27: warning: comparison of integer expressions of different signedness: ‘integer’ {aka ‘int’} and ‘unsigned int’ [-Wsign-compare] 164 | for (i = 0; i < stateVectorSize; i++) { | ~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/RK45Integrator.cpp:227:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 227 | for (int i = 0; i < stateVectorSize; ++i) { | ~~^~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrConfig.h:13, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/RK45Integrator.cpp:8: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/RK45Integrator.cpp:59:37: required from here 59 | hmin = (double) getValue("minimum_time_step"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/RK45Integrator.cpp:59:37: required from here 59 | hmin = (double) getValue("minimum_time_step"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/RK45Integrator.cpp:59:37: required from here 59 | hmin = (double) getValue("minimum_time_step"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/RK45Integrator.cpp:59:37: required from here 59 | hmin = (double) getValue("minimum_time_step"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/RK45Integrator.cpp:59:37: required from here 59 | hmin = (double) getValue("minimum_time_step"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/RK45Integrator.cpp:59:37: required from here 59 | hmin = (double) getValue("minimum_time_step"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/RK45Integrator.cpp:59:37: required from here 59 | hmin = (double) getValue("minimum_time_step"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/RK45Integrator.cpp:59:37: required from here 59 | hmin = (double) getValue("minimum_time_step"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/RK45Integrator.cpp:59:37: required from here 59 | hmin = (double) getValue("minimum_time_step"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [16/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrIniKey.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrIniKey.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrIniKey.h:8, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrIniKey.cpp:2: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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++) { | ~~^~~~~~~ [17/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrIniSection.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrIniSection.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrIniSection.cpp: In member function ‘rr::IniKey* rr::IniSection::GetKey(const int&)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrIniSection.cpp:2: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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++) { | ~~^~~~~~~ [18/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Matrix3D.h:8, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/SensitivitySolver.h:9, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/ForwardSensitivitySolver.h:10, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.h:26, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.cpp:3: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Matrix.h:39:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Matrix.h:39:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Matrix.h:45:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 45 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Matrix.h:45:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.h: In constructor ‘rr::CVODEIntegrator::CVODEIntegrator(rr::ExecutableModel*)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.h:257:18: warning: ‘rr::CVODEIntegrator::mStateVector’ will be initialized after [-Wreorder] 257 | N_Vector mStateVector = nullptr; | ^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.h:256:15: warning: ‘void* rr::CVODEIntegrator::mCVODE_Memory’ [-Wreorder] 256 | void *mCVODE_Memory = nullptr; | ^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.cpp:84:5: warning: when initialized here [-Wreorder] 84 | CVODEIntegrator::CVODEIntegrator(ExecutableModel *aModel) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.h:311:14: warning: ‘rr::CVODEIntegrator::stateVectorVariables’ will be initialized after [-Wreorder] 311 | bool stateVectorVariables; | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.h:265:14: warning: ‘bool rr::CVODEIntegrator::variableStepPendingEvent’ [-Wreorder] 265 | bool variableStepPendingEvent; | ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.cpp:84:5: warning: when initialized here [-Wreorder] 84 | CVODEIntegrator::CVODEIntegrator(ExecutableModel *aModel) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.cpp: In member function ‘void rr::CVODEIntegrator::checkVectorSize(int, size_t) const’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.cpp:132:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 132 | if (expected != real) | ~~~~~~~~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.cpp: In member function ‘virtual void rr::CVODEIntegrator::loadSBMLSettings(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.cpp:255:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 255 | for (int i = 0; i < lines.size(); i++) { | ~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.cpp: In member function ‘virtual void rr::CVODEIntegrator::tweakTolerances()’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.cpp:605:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 605 | for (int i = 0; i < v.size(); i++) | ~~^~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.cpp: In member function ‘virtual std::vector rr::CVODEIntegrator::getAbsoluteToleranceVector()’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.cpp:831:46: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 831 | if (amount_tolerances.size() == species + rrs) { | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.cpp: In member function ‘void rr::CVODEIntegrator::setCVODETolerances()’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.cpp:913:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 913 | for (int i = 0; i < amount_tolerances.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib64/llvm13/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm13/include/llvm/PassSupport.h:29, from /usr/lib64/llvm13/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:25, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/ForwardSensitivitySolver.h:13: /usr/lib64/llvm13/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/llvm13/include/llvm/Transforms/InstCombine/InstCombineWorklist.h:120:22: required from here 120 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm13/include/llvm/ADT/DenseMap.h:128:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 128 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.cpp:7: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/Dictionary.h:11, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Integrator.h:19, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.h:17: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.cpp:352:42: required from here 352 | if (getValue("stiff").getAs()) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.cpp:352:42: required from here 352 | if (getValue("stiff").getAs()) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.cpp:352:42: required from here 352 | if (getValue("stiff").getAs()) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.cpp:352:42: required from here 352 | if (getValue("stiff").getAs()) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.cpp:352:42: required from here 352 | if (getValue("stiff").getAs()) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.cpp:352:42: required from here 352 | if (getValue("stiff").getAs()) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.cpp:352:42: required from here 352 | if (getValue("stiff").getAs()) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.cpp:352:42: required from here 352 | if (getValue("stiff").getAs()) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.cpp:352:42: required from here 352 | if (getValue("stiff").getAs()) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.cpp:355:49: required from here 355 | if (newValue <= oldOrderValue.getAs()) { | ~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.cpp:355:49: required from here 355 | if (newValue <= oldOrderValue.getAs()) { | ~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.cpp:355:49: required from here 355 | if (newValue <= oldOrderValue.getAs()) { | ~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.cpp:355:49: required from here 355 | if (newValue <= oldOrderValue.getAs()) { | ~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.cpp:355:49: required from here 355 | if (newValue <= oldOrderValue.getAs()) { | ~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.cpp:355:49: required from here 355 | if (newValue <= oldOrderValue.getAs()) { | ~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.cpp:355:49: required from here 355 | if (newValue <= oldOrderValue.getAs()) { | ~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.cpp:355:49: required from here 355 | if (newValue <= oldOrderValue.getAs()) { | ~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.cpp:355:49: required from here 355 | if (newValue <= oldOrderValue.getAs()) { | ~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.cpp:387:66: required from here 387 | CVodeSetInitStep(mCVODE_Memory, (double) getValue("initial_time_step")); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.cpp:387:66: required from here 387 | CVodeSetInitStep(mCVODE_Memory, (double) getValue("initial_time_step")); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.cpp:387:66: required from here 387 | CVodeSetInitStep(mCVODE_Memory, (double) getValue("initial_time_step")); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.cpp:387:66: required from here 387 | CVodeSetInitStep(mCVODE_Memory, (double) getValue("initial_time_step")); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.cpp:387:66: required from here 387 | CVodeSetInitStep(mCVODE_Memory, (double) getValue("initial_time_step")); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.cpp:387:66: required from here 387 | CVodeSetInitStep(mCVODE_Memory, (double) getValue("initial_time_step")); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.cpp:387:66: required from here 387 | CVodeSetInitStep(mCVODE_Memory, (double) getValue("initial_time_step")); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.cpp:387:66: required from here 387 | CVodeSetInitStep(mCVODE_Memory, (double) getValue("initial_time_step")); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.cpp:387:66: required from here 387 | CVodeSetInitStep(mCVODE_Memory, (double) getValue("initial_time_step")); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h: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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:38: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions 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.9.2-build/libroadrunner-2.9.2/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [19/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrFileName.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrFileName.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrFileName.cpp:2: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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++) { | ~~^~~~~~~ [20/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrIniFile.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrIniFile.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrIniFile.cpp:10: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrIniFile.h: In constructor ‘rr::IniFile::IniFile(const std::string&, bool, bool)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrIniFile.h:42:29: warning: ‘const int rr::IniFile::mAutoCreateKeys’ [-Wreorder] 42 | const int mAutoCreateKeys; | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrIniFile.h:42:29: warning: ‘rr::IniFile::mAutoCreateKeys’ will be initialized after [-Wreorder] 42 | const int mAutoCreateKeys; | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrIniFile.h:38:29: warning: ‘const int rr::IniFile::mAutoCreateSections’ [-Wreorder] 38 | const int mAutoCreateSections; | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrIniFile.cpp:7: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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++) { | ~~^~~~~~~ [21/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrSelectionRecord.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrSelectionRecord.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop [22/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrRoadRunnerData.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunnerData.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunnerData.cpp:10: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunnerData.h: In constructor ‘rr::RoadRunnerData::RoadRunnerData(const std::vector >&, const ls::DoubleMatrix&)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrRoadRunnerData.h:126:34: warning: ‘std::vector > rr::RoadRunnerData::mColumnNames’ [-Wreorder] 126 | std::vector mColumnNames; | ^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunnerData.cpp:32:1: warning: when initialized here [-Wreorder] 32 | RoadRunnerData::RoadRunnerData(const std::vector& colNames, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunnerData.h: In constructor ‘rr::RoadRunnerData::RoadRunnerData(const rr::RoadRunner*)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrRoadRunnerData.h:131:22: warning: ‘ls::DoubleMatrix rr::RoadRunnerData::mTheData’ [-Wreorder] 131 | DoubleMatrix mTheData; | ^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunnerData.cpp:41:1: warning: when initialized here [-Wreorder] 41 | RoadRunnerData::RoadRunnerData(const RoadRunner* rr) : | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrRoadRunnerData.cpp: In member function ‘bool rr::RoadRunnerData::append(const rr::RoadRunnerData&)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrRoadRunnerData.cpp: In member function ‘std::string rr::RoadRunnerData::getColumnName(int) const’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrRoadRunnerData.cpp: In member function ‘std::string rr::RoadRunnerData::getColumnNamesAsString() const’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrRoadRunnerData.cpp: In member function ‘bool rr::RoadRunnerData::loadSimpleFormat(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrRoadRunnerData.cpp: In function ‘std::istream& rr::operator>>(std::istream&, RoadRunnerData&)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunnerData.cpp:5: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrVersionInfo.cpp In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrVersionInfo.cpp:2: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrSparse.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrSparse.cpp:8: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 8 | #pragma hdrstop In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrSparse.cpp:22: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/ExecutableModelFactory.cpp In file included from /usr/lib64/llvm13/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm13/include/llvm/PassSupport.h:29, from /usr/lib64/llvm13/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:25, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelGenerator.h:19, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/ExecutableModelFactory.cpp:19: /usr/lib64/llvm13/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/llvm13/include/llvm/Transforms/InstCombine/InstCombineWorklist.h:120:22: required from here 120 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm13/include/llvm/ADT/DenseMap.h:128:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 128 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:38: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions 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.9.2-build/libroadrunner-2.9.2/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [26/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrSBMLReader.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrSBMLReader.cpp:4: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 4 | #pragma hdrstop /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrSBMLReader.cpp: In function ‘std::string rr::flatten_comp(const std::string&, std::string)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrSBMLReader.cpp:219:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 219 | for (int i = 0; i < log->getNumErrors(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~ [27/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/SBMLValidator.cpp [28/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Matrix3D.h:8, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/SensitivitySolver.h:9, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/ForwardSensitivitySolver.h:10, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:9: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Matrix.h:39:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Matrix.h:39:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Matrix.h:45:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 45 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Matrix.h:45:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp: In constructor ‘rr::RoadRunnerImpl::RoadRunnerImpl(const std::string&, const rr::Dictionary*)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:234:25: warning: ‘rr::RoadRunnerImpl::simulateOpt’ will be initialized after [-Wreorder] 234 | SimulateOptions simulateOpt; | ^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:187:13: warning: ‘int rr::RoadRunnerImpl::mInstanceID’ [-Wreorder] 187 | int mInstanceID; | ^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:253:9: warning: when initialized here [-Wreorder] 253 | RoadRunnerImpl(const std::string &uriOrSBML, const Dictionary *dict) : | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp: In constructor ‘rr::RoadRunnerImpl::RoadRunnerImpl(const std::string&, const std::string&, const std::string&)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:234:25: warning: ‘rr::RoadRunnerImpl::simulateOpt’ will be initialized after [-Wreorder] 234 | SimulateOptions simulateOpt; | ^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:187:13: warning: ‘int rr::RoadRunnerImpl::mInstanceID’ [-Wreorder] 187 | int mInstanceID; | ^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:270:9: warning: when initialized here [-Wreorder] 270 | RoadRunnerImpl(const std::string &_compiler, const std::string &_tempDir, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp: In static member function ‘static std::vector > rr::RoadRunner::getRegisteredIntegratorNames()’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:872:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 872 | for (int n = 0; n < IntegratorFactory::getInstance().size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp: In static member function ‘static std::vector > rr::RoadRunner::getRegisteredSteadyStateSolverNames()’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:880:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 880 | for (int n = 0; n < SteadyStateSolverFactory::getInstance().size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp: In static member function ‘static std::vector > rr::RoadRunner::getRegisteredSensitivitySolverNames()’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:888:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 888 | for (int n = 0; n < SensitivitySolverFactory::getInstance().size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp: In member function ‘size_t rr::RoadRunner::createDefaultTimeCourseSelectionList()’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:1046:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 1046 | for (int i = 0; i < numFloatingSpecies; i++) { | ~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:1059:18: warning: catching polymorphic type ‘class rr::NotImplementedException’ by value [-Wcatch-value=] 1059 | } catch (NotImplementedException) { | ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:1074:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1074 | for (int i = 0; i < impl->mSelectionList.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp: In member function ‘size_t rr::RoadRunner::createTimeCourseSelectionList()’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp: In member function ‘double rr::RoadRunner::getValue(const rr::SelectionRecord&)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:1164:29: warning: catching polymorphic type ‘class std::out_of_range’ by value [-Wcatch-value=] 1164 | catch (std::out_of_range) { | ^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:1179:29: warning: catching polymorphic type ‘class std::out_of_range’ by value [-Wcatch-value=] 1179 | catch (std::out_of_range) { | ^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:1192:29: warning: catching polymorphic type ‘class std::invalid_argument’ by value [-Wcatch-value=] 1192 | catch (std::invalid_argument) { | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:1205:29: warning: catching polymorphic type ‘class std::out_of_range’ by value [-Wcatch-value=] 1205 | catch (std::out_of_range) { | ^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:1218:29: warning: catching polymorphic type ‘class std::invalid_argument’ by value [-Wcatch-value=] 1218 | catch (std::invalid_argument) { | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:1297:32: warning: comparison of integer expressions of different signedness: ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1297 | if (eig.size() <= index) { | ~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:1315:32: warning: comparison of integer expressions of different signedness: ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1315 | if (eig.size() <= index) { | ~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp: In member function ‘bool rr::RoadRunner::populateResult()’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:1557:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1557 | for (int i = 0; i < impl->mSelectionList.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp: In function ‘bool rr::hasTime(const ASTNode*)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:1966:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 1966 | for (int c = 0; c < astn->getNumChildren(); c++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp: In member function ‘const ls::DoubleMatrix* rr::RoadRunner::simulate(const rr::SimulateOptions*)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:2006:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 2006 | for (int e = 0; e < loe->size(); e++) { | ~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:2055:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2055 | for (int i = 1; i < selList.size(); i++) { | ~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:2100:55: warning: comparison of integer expressions of different signedness: ‘std::__cxx11::list >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 2100 | if (writeToFile && results.size() >= kRowsPerWrite) { | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:2134:47: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2134 | for (int n = 0; n < row.size(); ++n) { | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:2150:47: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2150 | for (int n = 0; n < row.size(); ++n) { | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:2297:28: warning: unused variable ‘itime’ [-Wunused-variable] 2297 | double itime = self.integrator->integrate(tout, next - tout); | ^~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp: In member function ‘ls::DoubleMatrix rr::RoadRunner::getFloatingSpeciesAmountsNamedArray()’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:2464:24: warning: unused variable ‘ls’ [-Wunused-variable] 2464 | LibStructural *ls = getLibStruct(); | ^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp: In member function ‘ls::DoubleMatrix rr::RoadRunner::getFloatingSpeciesConcentrationsNamedArray()’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:2485:24: warning: unused variable ‘ls’ [-Wunused-variable] 2485 | LibStructural *ls = getLibStruct(); | ^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp: In member function ‘ls::DoubleMatrix rr::RoadRunner::getIndependentFloatingSpeciesAmountsNamedArray()’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:2552:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 2552 | for (int i = 0; i < num_ind; i++) { | ~~^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp: In member function ‘ls::DoubleMatrix rr::RoadRunner::getDependentFloatingSpeciesAmountsNamedArray()’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:2568:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 2568 | for (int i = 0; i < num_dep; i++) { | ~~^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp: In member function ‘ls::DoubleMatrix rr::RoadRunner::getIndependentFloatingSpeciesConcentrationsNamedArray()’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:2584:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 2584 | for (int i = 0; i < num_ind; i++) { | ~~^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp: In member function ‘ls::DoubleMatrix rr::RoadRunner::getDependentFloatingSpeciesConcentrationsNamedArray()’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:2600:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 2600 | for (int i = 0; i < num_dep; i++) { | ~~^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp: In member function ‘std::vector rr::RoadRunner::getIndependentRatesOfChange()’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:2686:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 2686 | for (int i = 0; i < nindep; ++i) { | ~~^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp: In member function ‘std::vector rr::RoadRunner::getDependentRatesOfChange()’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:2722:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 2722 | for (int i = 0; i < ndep; ++i) { | ~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp: In member function ‘ls::DoubleMatrix rr::RoadRunner::getFullJacobian()’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:2938:30: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 2938 | for (int i= 0; i < jac.RSize(); i++) { | ~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:2943:39: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 2943 | for (int j = 0; j < jac.CSize(); j++) { | ~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:2935:17: warning: unused variable ‘jacCols’ [-Wunused-variable] 2935 | int jacCols = jac.CSize(); | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp: In member function ‘ls::DoubleMatrix rr::RoadRunner::getConservationMatrix()’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:3185:43: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 3185 | for (int row = 0; row < mat.RSize(); row++) { | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:3186:47: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 3186 | for (int col = 0; col < mat.CSize(); col++) { | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp: In member function ‘size_t rr::RoadRunner::createDefaultSteadyStateSelectionList()’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:3269:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 3269 | for (int i = 0; i < numFloatingSpecies; i++) { | ~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp: In member function ‘std::vector rr::RoadRunner::getSteadyStateValues()’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:3294:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3294 | for (int i = 0; i < impl->mSteadyStateSelection.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp: In member function ‘std::vector > rr::RoadRunner::getSteadyStateSelectionStrings() const’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:3303:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3303 | for (int i = 0; i < impl->mSteadyStateSelection.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp: In member function ‘ls::DoubleMatrix rr::RoadRunner::getSteadyStateValuesNamedArray()’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:3321:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3321 | for (int i = 0; i < impl->mSteadyStateSelection.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp: In member function ‘ls::DoubleMatrix rr::RoadRunner::getBoundarySpeciesConcentrationsNamedArray()’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:3557:24: warning: unused variable ‘ls’ [-Wunused-variable] 3557 | LibStructural *ls = getLibStruct(); | ^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp: In member function ‘ls::DoubleMatrix rr::RoadRunner::getBoundarySpeciesAmountsNamedArray()’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:3579:24: warning: unused variable ‘ls’ [-Wunused-variable] 3579 | LibStructural *ls = getLibStruct(); | ^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp: In member function ‘double rr::RoadRunner::getGlobalParameterByIndex(const int&)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:3820:21: warning: unused variable ‘arraySize’ [-Wunused-variable] 3820 | int arraySize = impl->model->getNumGlobalParameters(); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp: In member function ‘double rr::RoadRunner::getUnscaledSpeciesElasticity(int, int)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:4118:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 4118 | for (int i = 0; i < currentVals.size() - 1; i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp: In member function ‘ls::DoubleMatrix rr::RoadRunner::getScaledElasticityMatrix()’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:4272:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 4272 | for (int i = 0; i < uelast.RSize(); i++) { | ~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:4273:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 4273 | for (int j = 0; j < uelast.CSize(); j++) // Columns are species | ~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp: In member function ‘ls::DoubleMatrix rr::RoadRunner::getUnscaledConcentrationControlCoefficientMatrix()’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:165:36: warning: unused variable ‘self’ [-Wunused-variable] 165 | #define get_self() RoadRunnerImpl& self = *(this->impl); | ^~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:4315:9: note: in expansion of macro ‘get_self’ 4315 | get_self(); | ^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp: In member function ‘ls::DoubleMatrix rr::RoadRunner::getScaledConcentrationControlCoefficientMatrix()’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:4363:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 4363 | for (int i = 0; i < ucc.RSize(); i++) { | ~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:4364:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 4364 | for (int j = 0; j < ucc.CSize(); j++) { | ~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp: In member function ‘ls::DoubleMatrix rr::RoadRunner::getUnscaledFluxControlCoefficientMatrix()’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:4390:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 4390 | for (int i = 0; i < T1.RSize(); i++) { | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:165:36: warning: unused variable ‘self’ [-Wunused-variable] 165 | #define get_self() RoadRunnerImpl& self = *(this->impl); | ^~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:4380:9: note: in expansion of macro ‘get_self’ 4380 | get_self(); | ^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp: In member function ‘ls::DoubleMatrix rr::RoadRunner::getScaledFluxControlCoefficientMatrix()’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:4410:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 4410 | for (int i = 0; i < ufcc.RSize(); i++) { | ~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:4419:39: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 4419 | for (int j = 0; j < ufcc.CSize(); j++) { | ~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp: In member function ‘std::string rr::RoadRunner::getSBML(int, int)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:4496:47: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 4496 | if (level > 0 && version > 0 && level != impl->document->getLevel() && version != impl->document->getVersion()) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:4496:88: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 4496 | if (level > 0 && version > 0 && level != impl->document->getLevel() && version != impl->document->getVersion()) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp: In member function ‘SBMLDocument* rr::RoadRunner::getCurrentSBMLDocument(int, int)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:4526:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 4526 | for (int i = 0; i < array.size(); i++) { | ~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:4541:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 4541 | for (int i = 0; i < array.size(); i++) { | ~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:4556:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 4556 | for (int i = 0; i < array.size(); i++) { | ~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:4562:30: warning: catching polymorphic type ‘class std::exception’ by value [-Wcatch-value=] 4562 | catch(std::exception e) { | ^ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:4598:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 4598 | if (level > 0 && version > 0 && level != doc->getLevel() && version != doc->getVersion()) { | ~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:4598:75: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 4598 | if (level > 0 && version > 0 && level != doc->getLevel() && version != doc->getVersion()) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp: In member function ‘void rr::RoadRunner::updateStoichiometriesWith(SBMLDocument*, rr::ExecutableModel*, std::vector >)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:4614:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 4614 | for (int nr = 0; nr < rxnids.size(); nr++) { | ~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp: In member function ‘std::vector rr::RoadRunner::getSelectedValues()’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:4755:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 4755 | for (int i = 0; i < impl->mSelectionList.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp: In member function ‘void rr::RoadRunner::setSelections(const std::vector >&)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:4991:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 4991 | for (int i = 0; i < _selList.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:5002:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 5002 | for (int i = 0; i < selstr.size(); ++i) { | ~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp: In member function ‘void rr::RoadRunner::setSteadyStateSelections(const std::vector >&)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:5015:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 5015 | for (int i = 0; i < ss.size(); ++i) { | ~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:5057:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 5057 | for (int j = 0; j < reactionNames.size(); j++) { | ~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:5074:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 5074 | for (int i = 0; i < Id.RSize(); i++) { | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:5098:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 5098 | for (int j = 0; j < reactionNames.size(); j++) { | ~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:5108:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 5108 | for (int j = 0; j < speciesNames.size(); j++) { | ~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp: In member function ‘void rr::RoadRunner::loadStateS(std::stringstream*)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:5767:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 5767 | for (int i = 0; i < loadOptSize; i++) { | ~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:5821:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] 5821 | for (int i = 0; i < integratorNumParams; i++) { | ~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:5835:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] 5835 | for (int i = 0; i < solverNumParams; i++) { | ~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:5849:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] 5849 | for (int i = 0; i < sensSolverNumParams; i++) { | ~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp: In member function ‘void rr::RoadRunner::loadSelectionVector(std::istream&, std::vector&)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:5873:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 5873 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp: In member function ‘ls::DoubleMatrix rr::RoadRunner::getSubStoichiometryMatrix(bool, bool, bool)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:5915:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 5915 | for (int k = 0; k < r->getNumReactants(); ++k) { | ~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:5933:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 5933 | for (int k = 0; k < r->getNumProducts(); ++k) { | ~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:165:36: warning: unused variable ‘self’ [-Wunused-variable] 165 | #define get_self() RoadRunnerImpl& self = *(this->impl); | ^~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:5886:9: note: in expansion of macro ‘get_self’ 5886 | get_self(); | ^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp: In member function ‘void rr::RoadRunner::removeSpecies(const std::string&, bool)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:6096:28: warning: comparison of integer expressions of different signedness: ‘uint’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 6096 | for (uint i = 0; i < numReaction; i++) { | ~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:6304:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 6304 | for (int i = 0; i < reactants.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:6323:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 6323 | for (int i = 0; i < products.size(); i++) { | ~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp: In member function ‘bool rr::RoadRunner::isParameterUsed(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:6412:28: warning: comparison of integer expressions of different signedness: ‘uint’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 6412 | for (uint i = 0; i < num; i++) { | ~~^~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp: In member function ‘void rr::RoadRunner::regenerateModel(bool, bool)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:7171:33: warning: unused variable ‘tolType’ [-Wunused-variable] 7171 | Setting::TypeId tolType = absTol.type(); | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:7189:22: warning: unused variable ‘v1’ [-Wunused-variable] 7189 | if (auto v1 = absTol.get_if>()) { | ^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp: In member function ‘void rr::RoadRunner::removeVariable(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:7232:28: warning: comparison of integer expressions of different signedness: ‘uint’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 7232 | for (uint i = 0; i < num; i++) { | ~~^~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:7296:28: warning: comparison of integer expressions of different signedness: ‘uint’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 7296 | for (uint i = 0; i < num; i++) { | ~~^~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:7309:28: warning: comparison of integer expressions of different signedness: ‘uint’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 7309 | for (uint i = 0; i < num; i++) { | ~~^~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:7321:28: warning: comparison of integer expressions of different signedness: ‘uint’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 7321 | for (uint i = 0; i < num; i++) { | ~~^~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:7341:28: warning: comparison of integer expressions of different signedness: ‘uint’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 7341 | for (uint i = 0; i < num; i++) { | ~~^~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:7354:28: warning: comparison of integer expressions of different signedness: ‘uint’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 7354 | for (uint i = 0; i < num; i++) { | ~~^~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:7389:32: warning: comparison of integer expressions of different signedness: ‘uint’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 7389 | for (uint j = 0; j < numAssign; j++) { | ~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp: In member function ‘bool rr::RoadRunner::hasVariable(const ASTNode*, const std::string&)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:7418:21: warning: unused variable ‘temp’ [-Wunused-variable] 7418 | const char *temp = node->getName(); | ^~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp: In member function ‘void rr::RoadRunner::getSpeciesIdsFromAST(const ASTNode*, std::vector >&)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:7434:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 7434 | for (int i = 0; i < sbmlSpecies->size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp: In function ‘void rr::writeDoubleVectorListToStream(std::ostream&, const DoubleVectorList&)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:7502:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 7502 | for (int i = 1; i < row.size(); i++) { | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp: In function ‘void rr::writeDoubleMatrixToStream(std::ostream&, const ls::DoubleMatrix&, int)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:7515:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 7515 | for (int col = 1; col < results.numCols(); col++) { | ~~~~^~~~~~~~~~~~~~~~~~~ In file included from /usr/lib64/llvm13/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm13/include/llvm/PassSupport.h:29, from /usr/lib64/llvm13/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:25, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/ForwardSensitivitySolver.h:13: /usr/lib64/llvm13/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/llvm13/include/llvm/Transforms/InstCombine/InstCombineWorklist.h:120:22: required from here 120 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm13/include/llvm/ADT/DenseMap.h:128:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 128 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:30: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:5776:23: required from here 5776 | rr::loadBinary(*in, colNames); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/Dictionary.h:11, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/SteadyStateSolver.h:19, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/SteadyStateSolverDecorator.h:8, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/ApproxSteadyStateDecorator.h:8, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:7: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:2752:112: required from here 2752 | std::int32_t savedJacobianMode = Config::getValue(Config::ROADRUNNER_JACOBIAN_MODE).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:2752:112: required from here 2752 | std::int32_t savedJacobianMode = Config::getValue(Config::ROADRUNNER_JACOBIAN_MODE).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:2752:112: required from here 2752 | std::int32_t savedJacobianMode = Config::getValue(Config::ROADRUNNER_JACOBIAN_MODE).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:2752:112: required from here 2752 | std::int32_t savedJacobianMode = Config::getValue(Config::ROADRUNNER_JACOBIAN_MODE).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:2752:112: required from here 2752 | std::int32_t savedJacobianMode = Config::getValue(Config::ROADRUNNER_JACOBIAN_MODE).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:2752:112: required from here 2752 | std::int32_t savedJacobianMode = Config::getValue(Config::ROADRUNNER_JACOBIAN_MODE).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:2752:112: required from here 2752 | std::int32_t savedJacobianMode = Config::getValue(Config::ROADRUNNER_JACOBIAN_MODE).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:2752:112: required from here 2752 | std::int32_t savedJacobianMode = Config::getValue(Config::ROADRUNNER_JACOBIAN_MODE).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:2752:112: required from here 2752 | std::int32_t savedJacobianMode = Config::getValue(Config::ROADRUNNER_JACOBIAN_MODE).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:7481:71: required from here 7481 | return integrator->getValue("seed").getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:7481:71: required from here 7481 | return integrator->getValue("seed").getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:7481:71: required from here 7481 | return integrator->getValue("seed").getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:7481:71: required from here 7481 | return integrator->getValue("seed").getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:7481:71: required from here 7481 | return integrator->getValue("seed").getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:7481:71: required from here 7481 | return integrator->getValue("seed").getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:7481:71: required from here 7481 | return integrator->getValue("seed").getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:7481:71: required from here 7481 | return integrator->getValue("seed").getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:7481:71: required from here 7481 | return integrator->getValue("seed").getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:1016:37: required from here 1016 | return impl->loadOpt.getItem("tempDir"); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:1600:45: required from here 1600 | if (getSteadyStateSolver()->getValue("auto_moiety_analysis")) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:1600:45: required from here 1600 | if (getSteadyStateSolver()->getValue("auto_moiety_analysis")) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:1600:45: required from here 1600 | if (getSteadyStateSolver()->getValue("auto_moiety_analysis")) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:1600:45: required from here 1600 | if (getSteadyStateSolver()->getValue("auto_moiety_analysis")) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:1600:45: required from here 1600 | if (getSteadyStateSolver()->getValue("auto_moiety_analysis")) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:1600:45: required from here 1600 | if (getSteadyStateSolver()->getValue("auto_moiety_analysis")) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:1600:45: required from here 1600 | if (getSteadyStateSolver()->getValue("auto_moiety_analysis")) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:1600:45: required from here 1600 | if (getSteadyStateSolver()->getValue("auto_moiety_analysis")) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:1600:45: required from here 1600 | if (getSteadyStateSolver()->getValue("auto_moiety_analysis")) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h: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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:38: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions 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.9.2-build/libroadrunner-2.9.2/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp: At global scope: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:4468:24: warning: ‘std::string rr::convertSBMLVersion(const std::string&, int, int)’ defined but not used [-Wunused-function] 4468 | static std::string convertSBMLVersion(const std::string &str, int level, int version) { | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:3424:17: warning: ‘void rr::setSpeciesAmount(Model*, const std::string&, double)’ defined but not used [-Wunused-function] 3424 | static void setSpeciesAmount(::Model *model, const std::string &id, double value) { | ^~~~~~~~~~~~~~~~ [29/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/Solver.cpp [30/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrSBMLModelSimulation.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrSBMLModelSimulation.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Matrix3D.h:8, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/SensitivitySolver.h:9, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/ForwardSensitivitySolver.h:10, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.h:26, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrSBMLModelSimulation.cpp:9: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Matrix.h:39:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Matrix.h:39:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Matrix.h:45:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 45 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Matrix.h:45:32: note: remove the ‘< >’ In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrSBMLModelSimulation.cpp:6: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrSBMLModelSimulation.h: In constructor ‘rr::SBMLModelSimulation::SBMLModelSimulation(std::filesystem::__cxx11::path, std::filesystem::__cxx11::path)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrSBMLModelSimulation.h:25:38: warning: ‘rr::SBMLModelSimulation::mModelFilePath’ will be initialized after [-Wreorder] 25 | std::filesystem::path mModelFilePath; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrSBMLModelSimulation.h:24:38: warning: ‘std::string rr::SBMLModelSimulation::mModelFileName’ [-Wreorder] 24 | std::string mModelFileName; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrSBMLModelSimulation.h:32:38: warning: ‘rr::SBMLModelSimulation::mCompileIfDllExists’ will be initialized after [-Wreorder] 32 | bool mCompileIfDllExists; | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrSBMLModelSimulation.h:29:38: warning: ‘std::filesystem::__cxx11::path rr::SBMLModelSimulation::mTempDataFolder’ [-Wreorder] 29 | std::filesystem::path mTempDataFolder; | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrSBMLModelSimulation.cpp: In member function ‘void rr::SBMLModelSimulation::loadSBMLTolerances(const std::filesystem::__cxx11::path&)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrSBMLModelSimulation.h:7: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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/llvm13/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm13/include/llvm/PassSupport.h:29, from /usr/lib64/llvm13/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:25, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/ForwardSensitivitySolver.h:13: /usr/lib64/llvm13/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/llvm13/include/llvm/Transforms/InstCombine/InstCombineWorklist.h:120:22: required from here 120 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm13/include/llvm/ADT/DenseMap.h:128:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 128 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:38: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions 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.9.2-build/libroadrunner-2.9.2/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [31/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/Setting.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.cpp: In member function ‘std::string rr::Setting::toString()’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/Setting.cpp:9: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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++) { | ~~^~~~~~~ [32/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/RegistrationFactory.cpp [33/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/SteadyStateSolverFactory.cpp In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/KinsolSteadyStateSolver.h:14, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/NewtonIteration.h:8, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/BasicNewtonIteration.h:8, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/SteadyStateSolverFactory.cpp:7: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/KinsolErrHandler.h:48:1: warning: multi-line comment [-Wcomment] 48 | //#define handleKinsolError(errCode) \ | ^ [34/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/SteadyStateSolver.cpp In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/KinsolSteadyStateSolver.h:14, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/NewtonIteration.h:8, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/BasicNewtonIteration.h:8, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/SteadyStateSolver.cpp:20: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/KinsolErrHandler.h:48:1: warning: multi-line comment [-Wcomment] 48 | //#define handleKinsolError(errCode) \ | ^ In file included from /usr/lib64/llvm13/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm13/include/llvm/PassSupport.h:29, from /usr/lib64/llvm13/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:25, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/NLEQSolver.h:10, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/NLEQ1Solver.h:18, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/SteadyStateSolver.cpp:18: /usr/lib64/llvm13/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/llvm13/include/llvm/Transforms/InstCombine/InstCombineWorklist.h:120:22: required from here 120 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm13/include/llvm/ADT/DenseMap.h:128:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 128 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Dictionary.h:11, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/SteadyStateSolver.h:19, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/SteadyStateSolver.cpp:14: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/SteadyStateSolver.cpp:65:76: required from here 65 | addSetting("presimulation_maximum_steps", Setting((double) getValue("presimulation_time") * 100), | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/SteadyStateSolver.cpp:65:76: required from here 65 | addSetting("presimulation_maximum_steps", Setting((double) getValue("presimulation_time") * 100), | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/SteadyStateSolver.cpp:65:76: required from here 65 | addSetting("presimulation_maximum_steps", Setting((double) getValue("presimulation_time") * 100), | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/SteadyStateSolver.cpp:65:76: required from here 65 | addSetting("presimulation_maximum_steps", Setting((double) getValue("presimulation_time") * 100), | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/SteadyStateSolver.cpp:65:76: required from here 65 | addSetting("presimulation_maximum_steps", Setting((double) getValue("presimulation_time") * 100), | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/SteadyStateSolver.cpp:65:76: required from here 65 | addSetting("presimulation_maximum_steps", Setting((double) getValue("presimulation_time") * 100), | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/SteadyStateSolver.cpp:65:76: required from here 65 | addSetting("presimulation_maximum_steps", Setting((double) getValue("presimulation_time") * 100), | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/SteadyStateSolver.cpp:65:76: required from here 65 | addSetting("presimulation_maximum_steps", Setting((double) getValue("presimulation_time") * 100), | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/SteadyStateSolver.cpp:65:76: required from here 65 | addSetting("presimulation_maximum_steps", Setting((double) getValue("presimulation_time") * 100), | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h: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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:38: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions 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.9.2-build/libroadrunner-2.9.2/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions 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/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/SensitivitySolverFactory.cpp In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Matrix3D.h:8, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/SensitivitySolver.h:9, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/ForwardSensitivitySolver.h:10, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/SensitivitySolverFactory.h:9, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/SensitivitySolverFactory.cpp:2: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Matrix.h:39:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Matrix.h:39:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Matrix.h:45:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 45 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Matrix.h:45:32: note: remove the ‘< >’ In file included from /usr/lib64/llvm13/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm13/include/llvm/PassSupport.h:29, from /usr/lib64/llvm13/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:25, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/ForwardSensitivitySolver.h:13: /usr/lib64/llvm13/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/llvm13/include/llvm/Transforms/InstCombine/InstCombineWorklist.h:120:22: required from here 120 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm13/include/llvm/ADT/DenseMap.h:128:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 128 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:38: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions 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.9.2-build/libroadrunner-2.9.2/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [36/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/ForwardSensitivitySolver.cpp In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Matrix3D.h:8, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/SensitivitySolver.h:9, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/ForwardSensitivitySolver.h:10, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/ForwardSensitivitySolver.cpp:5: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Matrix.h:39:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Matrix.h:39:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Matrix.h:45:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 45 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Matrix.h:45:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/ForwardSensitivitySolver.cpp: In member function ‘void rr::ForwardSensitivitySolver::deducePlist()’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/ForwardSensitivitySolver.cpp:555:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 555 | for (int i = 0; i < whichParameters.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/ForwardSensitivitySolver.cpp: In member function ‘virtual rr::Matrix rr::ForwardSensitivitySolver::getSensitivityMatrix(int)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/ForwardSensitivitySolver.cpp:582:14: warning: unused variable ‘print’ [-Wunused-variable] 582 | auto print = stateVector->ops->nvprint; | ^~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/ForwardSensitivitySolver.cpp:584:14: warning: unused variable ‘len’ [-Wunused-variable] 584 | auto len = stateVector->ops->nvgetlength; | ^~~ In file included from /usr/lib64/llvm13/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm13/include/llvm/PassSupport.h:29, from /usr/lib64/llvm13/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:25, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/ForwardSensitivitySolver.h:13: /usr/lib64/llvm13/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/llvm13/include/llvm/Transforms/InstCombine/InstCombineWorklist.h:120:22: required from here 120 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm13/include/llvm/ADT/DenseMap.h:128:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 128 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Matrix3D.h: In instantiation of ‘void rr::Matrix3D::setKthMatrix(int, IndexType, rr::Matrix) [with IndexType = double; DataType = double]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/ForwardSensitivitySolver.cpp:687:29: required from here 687 | results.setKthMatrix(0, t, getSensitivityMatrix(k)); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/Matrix.h: In instantiation of ‘void rr::Matrix::deleteCol(int) [with T = double]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Matrix.h:410:22: required from ‘void rr::Matrix::deleteCol(const std::string&) [with T = double; std::string = std::__cxx11::basic_string]’ 410 | deleteCol(idx); | ~~~~~~~~~^~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/ForwardSensitivitySolver.cpp:713:38: required from here 713 | results.deleteCol(s); | ~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Matrix.h:365:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 365 | if (which > numCols() - 1) { | ~~~~~~^~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Dictionary.h:11, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Integrator.h:19, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.h:17, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/ForwardSensitivitySolver.h:9: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/ForwardSensitivitySolver.cpp:238:28: required from here 238 | if ((bool) getValue("stiff")) { | ~~~~~~~~^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/ForwardSensitivitySolver.cpp:238:28: required from here 238 | if ((bool) getValue("stiff")) { | ~~~~~~~~^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/ForwardSensitivitySolver.cpp:238:28: required from here 238 | if ((bool) getValue("stiff")) { | ~~~~~~~~^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/ForwardSensitivitySolver.cpp:238:28: required from here 238 | if ((bool) getValue("stiff")) { | ~~~~~~~~^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/ForwardSensitivitySolver.cpp:238:28: required from here 238 | if ((bool) getValue("stiff")) { | ~~~~~~~~^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/ForwardSensitivitySolver.cpp:238:28: required from here 238 | if ((bool) getValue("stiff")) { | ~~~~~~~~^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/ForwardSensitivitySolver.cpp:238:28: required from here 238 | if ((bool) getValue("stiff")) { | ~~~~~~~~^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/ForwardSensitivitySolver.cpp:238:28: required from here 238 | if ((bool) getValue("stiff")) { | ~~~~~~~~^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/ForwardSensitivitySolver.cpp:238:28: required from here 238 | if ((bool) getValue("stiff")) { | ~~~~~~~~^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.h:325:37: required from ‘std::string rr::decodeSundialsError(SundialsType*, int, bool) [with SundialsType = ForwardSensitivitySolver; std::string = std::__cxx11::basic_string]’ 325 | ss << (int) solver->getValue("maximum_num_steps"); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/ForwardSensitivitySolver.cpp:80:98: required from here 80 | rrLog(Logger::LOG_ERROR) << "ForwardSensitivitySolver Error: " << decodeSundialsError(i, error_code, false) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.h:325:37: required from ‘std::string rr::decodeSundialsError(SundialsType*, int, bool) [with SundialsType = ForwardSensitivitySolver; std::string = std::__cxx11::basic_string]’ 325 | ss << (int) solver->getValue("maximum_num_steps"); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/ForwardSensitivitySolver.cpp:80:98: required from here 80 | rrLog(Logger::LOG_ERROR) << "ForwardSensitivitySolver Error: " << decodeSundialsError(i, error_code, false) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.h:325:37: required from ‘std::string rr::decodeSundialsError(SundialsType*, int, bool) [with SundialsType = ForwardSensitivitySolver; std::string = std::__cxx11::basic_string]’ 325 | ss << (int) solver->getValue("maximum_num_steps"); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/ForwardSensitivitySolver.cpp:80:98: required from here 80 | rrLog(Logger::LOG_ERROR) << "ForwardSensitivitySolver Error: " << decodeSundialsError(i, error_code, false) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.h:325:37: required from ‘std::string rr::decodeSundialsError(SundialsType*, int, bool) [with SundialsType = ForwardSensitivitySolver; std::string = std::__cxx11::basic_string]’ 325 | ss << (int) solver->getValue("maximum_num_steps"); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/ForwardSensitivitySolver.cpp:80:98: required from here 80 | rrLog(Logger::LOG_ERROR) << "ForwardSensitivitySolver Error: " << decodeSundialsError(i, error_code, false) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.h:325:37: required from ‘std::string rr::decodeSundialsError(SundialsType*, int, bool) [with SundialsType = ForwardSensitivitySolver; std::string = std::__cxx11::basic_string]’ 325 | ss << (int) solver->getValue("maximum_num_steps"); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/ForwardSensitivitySolver.cpp:80:98: required from here 80 | rrLog(Logger::LOG_ERROR) << "ForwardSensitivitySolver Error: " << decodeSundialsError(i, error_code, false) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.h:325:37: required from ‘std::string rr::decodeSundialsError(SundialsType*, int, bool) [with SundialsType = ForwardSensitivitySolver; std::string = std::__cxx11::basic_string]’ 325 | ss << (int) solver->getValue("maximum_num_steps"); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/ForwardSensitivitySolver.cpp:80:98: required from here 80 | rrLog(Logger::LOG_ERROR) << "ForwardSensitivitySolver Error: " << decodeSundialsError(i, error_code, false) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.h:325:37: required from ‘std::string rr::decodeSundialsError(SundialsType*, int, bool) [with SundialsType = ForwardSensitivitySolver; std::string = std::__cxx11::basic_string]’ 325 | ss << (int) solver->getValue("maximum_num_steps"); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/ForwardSensitivitySolver.cpp:80:98: required from here 80 | rrLog(Logger::LOG_ERROR) << "ForwardSensitivitySolver Error: " << decodeSundialsError(i, error_code, false) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.h:325:37: required from ‘std::string rr::decodeSundialsError(SundialsType*, int, bool) [with SundialsType = ForwardSensitivitySolver; std::string = std::__cxx11::basic_string]’ 325 | ss << (int) solver->getValue("maximum_num_steps"); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/ForwardSensitivitySolver.cpp:80:98: required from here 80 | rrLog(Logger::LOG_ERROR) << "ForwardSensitivitySolver Error: " << decodeSundialsError(i, error_code, false) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.h:325:37: required from ‘std::string rr::decodeSundialsError(SundialsType*, int, bool) [with SundialsType = ForwardSensitivitySolver; std::string = std::__cxx11::basic_string]’ 325 | ss << (int) solver->getValue("maximum_num_steps"); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/ForwardSensitivitySolver.cpp:80:98: required from here 80 | rrLog(Logger::LOG_ERROR) << "ForwardSensitivitySolver Error: " << decodeSundialsError(i, error_code, false) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h: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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:38: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions 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.9.2-build/libroadrunner-2.9.2/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/ForwardSensitivitySolver.cpp: In member function ‘rr::ForwardSensitivitySolver::create()’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/ForwardSensitivitySolver.cpp:357:38: warning: ‘sensi_meth’ may be used uninitialized [-Wmaybe-uninitialized] 357 | if ((err = CVodeSensInit1(cvodeIntegrator->mCVODE_Memory, Ns, sensi_meth, NULL, mSensitivityMatrix))) { | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/ForwardSensitivitySolver.cpp:350:17: note: ‘sensi_meth’ was declared here 350 | int sensi_meth; | ^~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/ForwardSensitivitySolver.cpp:376:44: warning: ‘dq_method’ may be used uninitialized [-Wmaybe-uninitialized] 376 | if ((err = CVodeSetSensDQMethod(cvodeIntegrator->mCVODE_Memory, dq_method, 1))) { | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/ForwardSensitivitySolver.cpp:369:17: note: ‘dq_method’ was declared here 369 | int dq_method; | ^~~~~~~~~ [37/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/FixedPointIteration.cpp In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/KinsolSteadyStateSolver.h:14, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/FixedPointIteration.h:8, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/FixedPointIteration.cpp:5: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/KinsolErrHandler.h:48:1: warning: multi-line comment [-Wcomment] 48 | //#define handleKinsolError(errCode) \ | ^ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/FixedPointIteration.cpp: In member function ‘virtual void rr::FixedPointIteration::createKinsol()’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/Dictionary.h:11, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/SteadyStateSolver.h:19, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/KinsolSteadyStateSolver.h:11: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/FixedPointIteration.cpp:48:57: required from here 48 | KINSetDampingAA(mKinsol_Memory, (double)getValue("damping_aa")); | ~~~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/FixedPointIteration.cpp:48:57: required from here 48 | KINSetDampingAA(mKinsol_Memory, (double)getValue("damping_aa")); | ~~~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/FixedPointIteration.cpp:48:57: required from here 48 | KINSetDampingAA(mKinsol_Memory, (double)getValue("damping_aa")); | ~~~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/FixedPointIteration.cpp:48:57: required from here 48 | KINSetDampingAA(mKinsol_Memory, (double)getValue("damping_aa")); | ~~~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/FixedPointIteration.cpp:48:57: required from here 48 | KINSetDampingAA(mKinsol_Memory, (double)getValue("damping_aa")); | ~~~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/FixedPointIteration.cpp:48:57: required from here 48 | KINSetDampingAA(mKinsol_Memory, (double)getValue("damping_aa")); | ~~~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/FixedPointIteration.cpp:48:57: required from here 48 | KINSetDampingAA(mKinsol_Memory, (double)getValue("damping_aa")); | ~~~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/FixedPointIteration.cpp:48:57: required from here 48 | KINSetDampingAA(mKinsol_Memory, (double)getValue("damping_aa")); | ~~~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/FixedPointIteration.cpp:48:57: required from here 48 | KINSetDampingAA(mKinsol_Memory, (double)getValue("damping_aa")); | ~~~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/FixedPointIteration.cpp:49:49: required from here 49 | KINSetMAA(mKinsol_Memory, (long)getValue("maa")); | ~~~~~~~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/FixedPointIteration.cpp:49:49: required from here 49 | KINSetMAA(mKinsol_Memory, (long)getValue("maa")); | ~~~~~~~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/FixedPointIteration.cpp:49:49: required from here 49 | KINSetMAA(mKinsol_Memory, (long)getValue("maa")); | ~~~~~~~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/FixedPointIteration.cpp:49:49: required from here 49 | KINSetMAA(mKinsol_Memory, (long)getValue("maa")); | ~~~~~~~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/FixedPointIteration.cpp:49:49: required from here 49 | KINSetMAA(mKinsol_Memory, (long)getValue("maa")); | ~~~~~~~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/FixedPointIteration.cpp:49:49: required from here 49 | KINSetMAA(mKinsol_Memory, (long)getValue("maa")); | ~~~~~~~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/FixedPointIteration.cpp:49:49: required from here 49 | KINSetMAA(mKinsol_Memory, (long)getValue("maa")); | ~~~~~~~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/FixedPointIteration.cpp:49:49: required from here 49 | KINSetMAA(mKinsol_Memory, (long)getValue("maa")); | ~~~~~~~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/FixedPointIteration.cpp:49:49: required from here 49 | KINSetMAA(mKinsol_Memory, (long)getValue("maa")); | ~~~~~~~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [38/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/IntegratorFactory.cpp In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Matrix3D.h:8, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/SensitivitySolver.h:9, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/ForwardSensitivitySolver.h:10, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.h:26, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/IntegratorFactory.cpp:6: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Matrix.h:39:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Matrix.h:39:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Matrix.h:45:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 45 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Matrix.h:45:32: note: remove the ‘< >’ In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/RegistrationFactory.h:12, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/IntegratorFactory.h:10, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/IntegratorFactory.cpp:5: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/IntegratorFactory.cpp:8: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/IntegratorFactory.cpp:9: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/RK45Integrator.h:125:25: note: by ‘virtual rr::Setting rr::RK45Integrator::getValue(std::string)’ 125 | virtual Setting getValue(std::string key); | ^~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/IntegratorFactory.cpp:10: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/EulerIntegrator.h: In member function ‘virtual double rr::EulerIntegrator::integrate(double, double)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/EulerIntegrator.h:151:37: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 151 | for (int k_ = 0; k_ < eventStatus.size(); ++k_) { | ~~~^~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib64/llvm13/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm13/include/llvm/PassSupport.h:29, from /usr/lib64/llvm13/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:25, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/ForwardSensitivitySolver.h:13: /usr/lib64/llvm13/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/llvm13/include/llvm/Transforms/InstCombine/InstCombineWorklist.h:120:22: required from here 120 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm13/include/llvm/ADT/DenseMap.h:128:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 128 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Dictionary.h:11, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Solver.h:20: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/EulerIntegrator.h:112:42: required from here 112 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/EulerIntegrator.h:112:42: required from here 112 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/EulerIntegrator.h:112:42: required from here 112 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/EulerIntegrator.h:112:42: required from here 112 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/EulerIntegrator.h:112:42: required from here 112 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/EulerIntegrator.h:112:42: required from here 112 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/EulerIntegrator.h:112:42: required from here 112 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/EulerIntegrator.h:112:42: required from here 112 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/EulerIntegrator.h:112:42: required from here 112 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h: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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:38: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions 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.9.2-build/libroadrunner-2.9.2/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions 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/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/NewtonIteration.cpp In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/KinsolSteadyStateSolver.h:14, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/NewtonIteration.h:8, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/NewtonIteration.cpp:5: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/KinsolErrHandler.h:48:1: warning: multi-line comment [-Wcomment] 48 | //#define handleKinsolError(errCode) \ | ^ [40/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/BasicNewtonIteration.cpp In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/KinsolSteadyStateSolver.h:14, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/NewtonIteration.h:8, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/BasicNewtonIteration.h:8, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/BasicNewtonIteration.cpp:5: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/KinsolErrHandler.h:48:1: warning: multi-line comment [-Wcomment] 48 | //#define handleKinsolError(errCode) \ | ^ [41/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/LinesearchNewtonIteration.cpp In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/KinsolSteadyStateSolver.h:14, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/NewtonIteration.h:8, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/LinesearchNewtonIteration.h:8, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/LinesearchNewtonIteration.cpp:5: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/KinsolErrHandler.h:48:1: warning: multi-line comment [-Wcomment] 48 | //#define handleKinsolError(errCode) \ | ^ [42/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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/KinsolErrHandler.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/KinsolErrHandler.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/KinsolErrHandler.cpp.o -c /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/KinsolErrHandler.cpp In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/KinsolErrHandler.cpp:5: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/KinsolErrHandler.h:48:1: warning: multi-line comment [-Wcomment] 48 | //#define handleKinsolError(errCode) \ | ^ [43/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/SVD.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/SVD.cpp: In member function ‘int rr::SVD::rank(double) const’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/Matrix.h:39:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Matrix.h:45:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 45 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Matrix.h:45:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/KinsolSteadyStateSolver.cpp: In member function ‘void rr::KinsolSteadyStateSolver::setFScale(const std::vector&)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/KinsolSteadyStateSolver.cpp:209:26: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 209 | if (value.size() != stateSize) { | ~~~~~~~~~~~~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/KinsolSteadyStateSolver.cpp: In member function ‘void rr::KinsolSteadyStateSolver::setUScale(std::vector)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/KinsolSteadyStateSolver.cpp:226:26: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 226 | if (value.size() != stateSize) { | ~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from /usr/lib64/llvm13/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm13/include/llvm/PassSupport.h:29, from /usr/lib64/llvm13/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:25, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/ForwardSensitivitySolver.h:13: /usr/lib64/llvm13/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/llvm13/include/llvm/Transforms/InstCombine/InstCombineWorklist.h:120:22: required from here 120 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm13/include/llvm/ADT/DenseMap.h:128:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 128 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Dictionary.h:11, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/SteadyStateSolver.h:19, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/KinsolSteadyStateSolver.h:11: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/KinsolSteadyStateSolver.cpp:82:28: required from here 82 | if (!(bool)getValue("allow_negative")) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/KinsolSteadyStateSolver.cpp:82:28: required from here 82 | if (!(bool)getValue("allow_negative")) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/KinsolSteadyStateSolver.cpp:82:28: required from here 82 | if (!(bool)getValue("allow_negative")) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/KinsolSteadyStateSolver.cpp:82:28: required from here 82 | if (!(bool)getValue("allow_negative")) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/KinsolSteadyStateSolver.cpp:82:28: required from here 82 | if (!(bool)getValue("allow_negative")) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/KinsolSteadyStateSolver.cpp:82:28: required from here 82 | if (!(bool)getValue("allow_negative")) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/KinsolSteadyStateSolver.cpp:82:28: required from here 82 | if (!(bool)getValue("allow_negative")) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/KinsolSteadyStateSolver.cpp:82:28: required from here 82 | if (!(bool)getValue("allow_negative")) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/KinsolSteadyStateSolver.cpp:82:28: required from here 82 | if (!(bool)getValue("allow_negative")) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/KinsolSteadyStateSolver.cpp:270:56: required from here 270 | KINSetNumMaxIters(mKinsol_Memory, (int)getValue("num_max_iters")); | ~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/KinsolSteadyStateSolver.cpp:270:56: required from here 270 | KINSetNumMaxIters(mKinsol_Memory, (int)getValue("num_max_iters")); | ~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/KinsolSteadyStateSolver.cpp:270:56: required from here 270 | KINSetNumMaxIters(mKinsol_Memory, (int)getValue("num_max_iters")); | ~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/KinsolSteadyStateSolver.cpp:270:56: required from here 270 | KINSetNumMaxIters(mKinsol_Memory, (int)getValue("num_max_iters")); | ~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/KinsolSteadyStateSolver.cpp:270:56: required from here 270 | KINSetNumMaxIters(mKinsol_Memory, (int)getValue("num_max_iters")); | ~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/KinsolSteadyStateSolver.cpp:270:56: required from here 270 | KINSetNumMaxIters(mKinsol_Memory, (int)getValue("num_max_iters")); | ~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/KinsolSteadyStateSolver.cpp:270:56: required from here 270 | KINSetNumMaxIters(mKinsol_Memory, (int)getValue("num_max_iters")); | ~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/KinsolSteadyStateSolver.cpp:270:56: required from here 270 | KINSetNumMaxIters(mKinsol_Memory, (int)getValue("num_max_iters")); | ~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/KinsolSteadyStateSolver.cpp:270:56: required from here 270 | KINSetNumMaxIters(mKinsol_Memory, (int)getValue("num_max_iters")); | ~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/KinsolSteadyStateSolver.cpp:276:61: required from here 276 | KINSetEtaConstValue(mKinsol_Memory, (double)getValue("eta_constant_value")); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/KinsolSteadyStateSolver.cpp:276:61: required from here 276 | KINSetEtaConstValue(mKinsol_Memory, (double)getValue("eta_constant_value")); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/KinsolSteadyStateSolver.cpp:276:61: required from here 276 | KINSetEtaConstValue(mKinsol_Memory, (double)getValue("eta_constant_value")); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/KinsolSteadyStateSolver.cpp:276:61: required from here 276 | KINSetEtaConstValue(mKinsol_Memory, (double)getValue("eta_constant_value")); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/KinsolSteadyStateSolver.cpp:276:61: required from here 276 | KINSetEtaConstValue(mKinsol_Memory, (double)getValue("eta_constant_value")); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/KinsolSteadyStateSolver.cpp:276:61: required from here 276 | KINSetEtaConstValue(mKinsol_Memory, (double)getValue("eta_constant_value")); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/KinsolSteadyStateSolver.cpp:276:61: required from here 276 | KINSetEtaConstValue(mKinsol_Memory, (double)getValue("eta_constant_value")); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/KinsolSteadyStateSolver.cpp:276:61: required from here 276 | KINSetEtaConstValue(mKinsol_Memory, (double)getValue("eta_constant_value")); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/KinsolSteadyStateSolver.cpp:276:61: required from here 276 | KINSetEtaConstValue(mKinsol_Memory, (double)getValue("eta_constant_value")); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h: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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:38: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions 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.9.2-build/libroadrunner-2.9.2/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [46/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/conservation/ConservationExtension.cpp [47/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/conservation/ConservationDocumentPlugin.cpp [48/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/PresimulationProgramDecorator.cpp In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Matrix3D.h:8, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/SensitivitySolver.h:9, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/ForwardSensitivitySolver.h:10, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.h:26, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/PresimulationProgramDecorator.cpp:7: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Matrix.h:39:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Matrix.h:39:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Matrix.h:45:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 45 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Matrix.h:45:32: note: remove the ‘< >’ In file included from /usr/lib64/llvm13/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm13/include/llvm/PassSupport.h:29, from /usr/lib64/llvm13/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:25, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/ForwardSensitivitySolver.h:13: /usr/lib64/llvm13/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/llvm13/include/llvm/Transforms/InstCombine/InstCombineWorklist.h:120:22: required from here 120 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm13/include/llvm/ADT/DenseMap.h:128:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 128 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:38: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions 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.9.2-build/libroadrunner-2.9.2/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [49/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/conservation/ConservedMoietyPlugin.cpp [50/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/PresimulationDecorator.cpp In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Matrix3D.h:8, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/SensitivitySolver.h:9, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/ForwardSensitivitySolver.h:10, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.h:26, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/PresimulationDecorator.cpp:7: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Matrix.h:39:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Matrix.h:39:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Matrix.h:45:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 45 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Matrix.h:45:32: note: remove the ‘< >’ In file included from /usr/lib64/llvm13/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm13/include/llvm/PassSupport.h:29, from /usr/lib64/llvm13/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:25, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/ForwardSensitivitySolver.h:13: /usr/lib64/llvm13/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/llvm13/include/llvm/Transforms/InstCombine/InstCombineWorklist.h:120:22: required from here 120 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm13/include/llvm/ADT/DenseMap.h:128:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 128 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Dictionary.h:11, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/SteadyStateSolver.h:19, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/SteadyStateSolverDecorator.h:8, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/PresimulationDecorator.h:8, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/PresimulationDecorator.cpp:5: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/PresimulationDecorator.cpp:30:62: required from here 30 | integrator.integrate(0, (double)solver_->getValue("presimulation_time")); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/PresimulationDecorator.cpp:30:62: required from here 30 | integrator.integrate(0, (double)solver_->getValue("presimulation_time")); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/PresimulationDecorator.cpp:30:62: required from here 30 | integrator.integrate(0, (double)solver_->getValue("presimulation_time")); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/PresimulationDecorator.cpp:30:62: required from here 30 | integrator.integrate(0, (double)solver_->getValue("presimulation_time")); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/PresimulationDecorator.cpp:30:62: required from here 30 | integrator.integrate(0, (double)solver_->getValue("presimulation_time")); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/PresimulationDecorator.cpp:30:62: required from here 30 | integrator.integrate(0, (double)solver_->getValue("presimulation_time")); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/PresimulationDecorator.cpp:30:62: required from here 30 | integrator.integrate(0, (double)solver_->getValue("presimulation_time")); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/PresimulationDecorator.cpp:30:62: required from here 30 | integrator.integrate(0, (double)solver_->getValue("presimulation_time")); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/PresimulationDecorator.cpp:30:62: required from here 30 | integrator.integrate(0, (double)solver_->getValue("presimulation_time")); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h: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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:38: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions 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.9.2-build/libroadrunner-2.9.2/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [51/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/conservation/ConservedMoietyConverter.cpp In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/conservation/ConservedMoietyConverter.cpp:8: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/conservation/ConservedMoietyConverter.h: In constructor ‘rr::conservation::ConservedMoietyConverter::ConservedMoietyConverter()’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/conservation/ConservedMoietyConverter.h:168:14: warning: ‘rr::conservation::ConservedMoietyConverter::mModel’ will be initialized after [-Wreorder] 168 | ::Model *mModel; | ^~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/conservation/ConservedMoietyConverter.h:159:24: warning: ‘ls::LibStructural* rr::conservation::ConservedMoietyConverter::structural’ [-Wreorder] 159 | ls::LibStructural *structural; | ^~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/conservation/ConservedMoietyConverter.cpp:142:1: warning: when initialized here [-Wreorder] 142 | ConservedMoietyConverter::ConservedMoietyConverter() : | ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/conservation/ConservedMoietyConverter.h: In copy constructor ‘rr::conservation::ConservedMoietyConverter::ConservedMoietyConverter(const rr::conservation::ConservedMoietyConverter&)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/conservation/ConservedMoietyConverter.h:168:14: warning: ‘rr::conservation::ConservedMoietyConverter::mModel’ will be initialized after [-Wreorder] 168 | ::Model *mModel; | ^~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/conservation/ConservedMoietyConverter.h:159:24: warning: ‘ls::LibStructural* rr::conservation::ConservedMoietyConverter::structural’ [-Wreorder] 159 | ls::LibStructural *structural; | ^~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/conservation/ConservedMoietyConverter.cpp:151:1: warning: when initialized here [-Wreorder] 151 | ConservedMoietyConverter::ConservedMoietyConverter( | ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/conservation/ConservedMoietyConverter.cpp: In function ‘void rr::conservation::createReorderedSpecies(Model*, Model*, const std::vector >&, const std::vector >&)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/conservation/ConservedMoietyConverter.cpp:463:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 463 | for (int i = 0; i < indSpecies.size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/conservation/ConservedMoietyConverter.cpp:472:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 472 | for (int i = 0; i < depSpecies.size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/conservation/ConservedMoietyConverter.cpp:593:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 593 | for (int j = 0; j < indSpecies.size(); ++j) | ~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/conservation/ConservedMoietyConverter.cpp: In function ‘void rr::conservation::conservedMoietyCheck(const SBMLDocument*)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/conservation/ConservedMoietyConverter.cpp:757:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 757 | for(int i = 0; i < rules->size(); ++i) | ~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/conservation/ConservedMoietyConverter.cpp:787:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 787 | for(int i = 0; i < reactions->size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/conservation/ConservedMoietyConverter.cpp:793:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 793 | for (int i = 0; i < references->size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/conservation/ConservedMoietyConverter.cpp:820:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 820 | for(int i = 0; i < events->size(); ++i) | ~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/conservation/ConservedMoietyConverter.cpp:826:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 826 | for(int j = 0; j < assignments->size(); ++j) | ~~^~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/conservation/ConservedMoietyConverter.cpp:35: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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++) { | ~~^~~~~~~ [52/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/ApproxSteadyStateDecorator.cpp In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Matrix3D.h:8, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/SensitivitySolver.h:9, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/ForwardSensitivitySolver.h:10, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.h:26, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/ApproxSteadyStateDecorator.cpp:6: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Matrix.h:39:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Matrix.h:39:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Matrix.h:45:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 45 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Matrix.h:45:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/ApproxSteadyStateDecorator.cpp: In member function ‘virtual double rr::ApproxSteadyStateDecorator::solve()’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/ApproxSteadyStateDecorator.cpp:33:24: warning: unused variable ‘numVariables’ [-Wunused-variable] 33 | const int &numVariables = model->getStateVector(nullptr); | ^~~~~~~~~~~~ In file included from /usr/lib64/llvm13/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm13/include/llvm/PassSupport.h:29, from /usr/lib64/llvm13/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:25, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/ForwardSensitivitySolver.h:13: /usr/lib64/llvm13/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/llvm13/include/llvm/Transforms/InstCombine/InstCombineWorklist.h:120:22: required from here 120 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm13/include/llvm/ADT/DenseMap.h:128:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 128 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Dictionary.h:11, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/SteadyStateSolver.h:19, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/SteadyStateSolverDecorator.h:8, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/ApproxSteadyStateDecorator.h:8, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/ApproxSteadyStateDecorator.cpp:5: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/ApproxSteadyStateDecorator.cpp:24:49: required from here 24 | const double &end = (double)getValue("approx_time"); | ~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/ApproxSteadyStateDecorator.cpp:24:49: required from here 24 | const double &end = (double)getValue("approx_time"); | ~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/ApproxSteadyStateDecorator.cpp:24:49: required from here 24 | const double &end = (double)getValue("approx_time"); | ~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/ApproxSteadyStateDecorator.cpp:24:49: required from here 24 | const double &end = (double)getValue("approx_time"); | ~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/ApproxSteadyStateDecorator.cpp:24:49: required from here 24 | const double &end = (double)getValue("approx_time"); | ~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/ApproxSteadyStateDecorator.cpp:24:49: required from here 24 | const double &end = (double)getValue("approx_time"); | ~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/ApproxSteadyStateDecorator.cpp:24:49: required from here 24 | const double &end = (double)getValue("approx_time"); | ~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/ApproxSteadyStateDecorator.cpp:24:49: required from here 24 | const double &end = (double)getValue("approx_time"); | ~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/ApproxSteadyStateDecorator.cpp:24:49: required from here 24 | const double &end = (double)getValue("approx_time"); | ~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/ApproxSteadyStateDecorator.cpp:25:45: required from here 25 | const int &steps = (int)getValue("approx_maximum_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/ApproxSteadyStateDecorator.cpp:25:45: required from here 25 | const int &steps = (int)getValue("approx_maximum_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/ApproxSteadyStateDecorator.cpp:25:45: required from here 25 | const int &steps = (int)getValue("approx_maximum_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/ApproxSteadyStateDecorator.cpp:25:45: required from here 25 | const int &steps = (int)getValue("approx_maximum_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/ApproxSteadyStateDecorator.cpp:25:45: required from here 25 | const int &steps = (int)getValue("approx_maximum_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/ApproxSteadyStateDecorator.cpp:25:45: required from here 25 | const int &steps = (int)getValue("approx_maximum_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/ApproxSteadyStateDecorator.cpp:25:45: required from here 25 | const int &steps = (int)getValue("approx_maximum_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/ApproxSteadyStateDecorator.cpp:25:45: required from here 25 | const int &steps = (int)getValue("approx_maximum_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/ApproxSteadyStateDecorator.cpp:25:45: required from here 25 | const int &steps = (int)getValue("approx_maximum_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h: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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:38: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions 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.9.2-build/libroadrunner-2.9.2/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions 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/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/ASTNodeFactory.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/ASTNodeFactory.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop [54/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrRoadRunnerMap.cpp [55/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/AssignmentRuleEvaluator.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/AssignmentRuleEvaluator.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop [56/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/CodeGenBase.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/CodeGenBase.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop In file included from /usr/lib64/llvm13/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm13/include/llvm/PassSupport.h:29, from /usr/lib64/llvm13/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/ModelGeneratorContext.h:14, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/CodeGenBase.h:11, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/CodeGenBase.cpp:8: /usr/lib64/llvm13/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/llvm13/include/llvm/Transforms/InstCombine/InstCombineWorklist.h:120:22: required from here 120 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm13/include/llvm/ADT/DenseMap.h:128:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 128 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ [57/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/EvalConversionFactorCodeGen.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/EvalConversionFactorCodeGen.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop In file included from /usr/lib64/llvm13/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm13/include/llvm/PassSupport.h:29, from /usr/lib64/llvm13/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/ModelGeneratorContext.h:14, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/CodeGenBase.h:11, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/EvalConversionFactorCodeGen.h:11, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/EvalConversionFactorCodeGen.cpp:8: /usr/lib64/llvm13/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/llvm13/include/llvm/Transforms/InstCombine/InstCombineWorklist.h:120:22: required from here 120 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm13/include/llvm/ADT/DenseMap.h:128:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 128 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/CodeGenBase.h: In instantiation of ‘rrllvm::CodeGenBase::CodeGenBase(const rrllvm::ModelGeneratorContext&) [with FunctionPtrType = void (*)(rrllvm::LLVMModelData*)]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/EvalConversionFactorCodeGen.cpp:31:65: required from here 31 | CodeGenBase(mgc) | ^ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/CodeGenBase.h:108:20: warning: ‘rrllvm::CodeGenBase::options’ will be initialized after [-Wreorder] 108 | const unsigned options; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/CodeGenBase.h:98:21: warning: ‘llvm::Function* rrllvm::CodeGenBase::function’ [-Wreorder] 98 | llvm::Function *function; | ^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/CodeGenBase.h:71:5: warning: when initialized here [-Wreorder] 71 | CodeGenBase(const ModelGeneratorContext &mgc) : | ^~~~~~~~~~~ [58/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/EvalInitialConditionsCodeGen.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/EvalInitialConditionsCodeGen.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/EvalInitialConditionsCodeGen.cpp: In member function ‘void rrllvm::EvalInitialConditionsCodeGen::codeGenStoichiometry(llvm::Value*, rrllvm::ModelDataStoreSymbolResolver&, rrllvm::LoadSymbolResolver&)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/EvalInitialConditionsCodeGen.cpp:181:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 181 | for (int i = 0; i < ids.size(); i++) | ~~^~~~~~~~~~~~ In file included from /usr/lib64/llvm13/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm13/include/llvm/PassSupport.h:29, from /usr/lib64/llvm13/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/ModelGeneratorContext.h:14, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/EvalInitialConditionsCodeGen.h:11, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/EvalInitialConditionsCodeGen.cpp:8: /usr/lib64/llvm13/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/llvm13/include/llvm/Transforms/InstCombine/InstCombineWorklist.h:120:22: required from here 120 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm13/include/llvm/ADT/DenseMap.h:128:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 128 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/EvalInitialConditionsCodeGen.h:12: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/EvalInitialConditionsCodeGen.cpp:35:59: required from here 35 | CodeGenBase(mgc) | ^ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/CodeGenBase.h:108:20: warning: ‘rrllvm::CodeGenBase::options’ will be initialized after [-Wreorder] 108 | const unsigned options; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/CodeGenBase.h:98:21: warning: ‘llvm::Function* rrllvm::CodeGenBase::function’ [-Wreorder] 98 | llvm::Function *function; | ^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/CodeGenBase.h:71:5: warning: when initialized here [-Wreorder] 71 | CodeGenBase(const ModelGeneratorContext &mgc) : | ^~~~~~~~~~~ [59/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/ASTNodeCodeGen.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/ASTNodeCodeGen.cpp:12: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 12 | #pragma hdrstop /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/ASTNodeCodeGen.cpp: In member function ‘llvm::Value* rrllvm::ASTNodeCodeGen::rateOfCodeGen(const ASTNode*)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/ASTNodeCodeGen.cpp: In member function ‘llvm::Value* rrllvm::ASTNodeCodeGen::applyScalarRelationalCodeGen(const ASTNode*)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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/llvm13/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm13/include/llvm/PassSupport.h:29, from /usr/lib64/llvm13/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/ASTNodeCodeGen.h:13, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/ASTNodeCodeGen.cpp:13: /usr/lib64/llvm13/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/llvm13/include/llvm/Transforms/InstCombine/InstCombineWorklist.h:120:22: required from here 120 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm13/include/llvm/ADT/DenseMap.h:128:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 128 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/ASTNodeCodeGen.cpp:18: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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++) { | ~~^~~~~~~ [60/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/EvalRateRuleRatesCodeGen.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/EvalRateRuleRatesCodeGen.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/EvalRateRuleRatesCodeGen.cpp: In member function ‘virtual llvm::Value* rrllvm::EvalRateRuleRatesCodeGen::codeGen()’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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/llvm13/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm13/include/llvm/PassSupport.h:29, from /usr/lib64/llvm13/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/ModelGeneratorContext.h:14, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/CodeGenBase.h:11, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/EvalRateRuleRatesCodeGen.h:11, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/EvalRateRuleRatesCodeGen.cpp:8: /usr/lib64/llvm13/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/llvm13/include/llvm/Transforms/InstCombine/InstCombineWorklist.h:120:22: required from here 120 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm13/include/llvm/ADT/DenseMap.h:128:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 128 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/CodeGenBase.h: In instantiation of ‘rrllvm::CodeGenBase::CodeGenBase(const rrllvm::ModelGeneratorContext&) [with FunctionPtrType = void (*)(rrllvm::LLVMModelData*)]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/EvalRateRuleRatesCodeGen.cpp:30:55: required from here 30 | CodeGenBase(mgc) | ^ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/CodeGenBase.h:108:20: warning: ‘rrllvm::CodeGenBase::options’ will be initialized after [-Wreorder] 108 | const unsigned options; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/CodeGenBase.h:98:21: warning: ‘llvm::Function* rrllvm::CodeGenBase::function’ [-Wreorder] 98 | llvm::Function *function; | ^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/CodeGenBase.h:71:5: warning: when initialized here [-Wreorder] 71 | CodeGenBase(const ModelGeneratorContext &mgc) : | ^~~~~~~~~~~ [61/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/EvalReactionRatesCodeGen.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/EvalReactionRatesCodeGen.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/EvalReactionRatesCodeGen.cpp: In member function ‘virtual llvm::Value* rrllvm::EvalReactionRatesCodeGen::codeGen()’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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/llvm13/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm13/include/llvm/PassSupport.h:29, from /usr/lib64/llvm13/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/ModelGeneratorContext.h:14, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/EvalReactionRatesCodeGen.h:12, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/EvalReactionRatesCodeGen.cpp:8: /usr/lib64/llvm13/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/llvm13/include/llvm/Transforms/InstCombine/InstCombineWorklist.h:120:22: required from here 120 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm13/include/llvm/ADT/DenseMap.h:128:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 128 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/EvalReactionRatesCodeGen.h:13: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/CodeGenBase.h: In instantiation of ‘rrllvm::CodeGenBase::CodeGenBase(const rrllvm::ModelGeneratorContext&) [with FunctionPtrType = double (*)(rrllvm::LLVMModelData*)]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/EvalReactionRatesCodeGen.cpp:31:55: required from here 31 | CodeGenBase(mgc) | ^ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/CodeGenBase.h:108:20: warning: ‘rrllvm::CodeGenBase::options’ will be initialized after [-Wreorder] 108 | const unsigned options; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/CodeGenBase.h:98:21: warning: ‘llvm::Function* rrllvm::CodeGenBase::function’ [-Wreorder] 98 | llvm::Function *function; | ^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/CodeGenBase.h:71:5: warning: when initialized here [-Wreorder] 71 | CodeGenBase(const ModelGeneratorContext &mgc) : | ^~~~~~~~~~~ [62/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/EvalVolatileStoichCodeGen.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/EvalVolatileStoichCodeGen.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop In file included from /usr/lib64/llvm13/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm13/include/llvm/PassSupport.h:29, from /usr/lib64/llvm13/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/ModelGeneratorContext.h:14, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/CodeGenBase.h:11, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/EvalVolatileStoichCodeGen.h:11, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/EvalVolatileStoichCodeGen.cpp:9: /usr/lib64/llvm13/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/llvm13/include/llvm/Transforms/InstCombine/InstCombineWorklist.h:120:22: required from here 120 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm13/include/llvm/ADT/DenseMap.h:128:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 128 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/CodeGenBase.h: In instantiation of ‘rrllvm::CodeGenBase::CodeGenBase(const rrllvm::ModelGeneratorContext&) [with FunctionPtrType = void (*)(rrllvm::LLVMModelData*)]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/EvalVolatileStoichCodeGen.cpp:30:67: required from here 30 | CodeGenBase(mgc) { | ^ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/CodeGenBase.h:108:20: warning: ‘rrllvm::CodeGenBase::options’ will be initialized after [-Wreorder] 108 | const unsigned options; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/CodeGenBase.h:98:21: warning: ‘llvm::Function* rrllvm::CodeGenBase::function’ [-Wreorder] 98 | llvm::Function *function; | ^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/CodeGenBase.h:71:5: warning: when initialized here [-Wreorder] 71 | CodeGenBase(const ModelGeneratorContext &mgc) : | ^~~~~~~~~~~ [63/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/EventAssignCodeGen.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/EventAssignCodeGen.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop In file included from /usr/lib64/llvm13/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm13/include/llvm/PassSupport.h:29, from /usr/lib64/llvm13/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/ModelGeneratorContext.h:14, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/CodeGenBase.h:11, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/EventCodeGenBase.h:11, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/EventAssignCodeGen.h:11, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/EventAssignCodeGen.cpp:8: /usr/lib64/llvm13/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/llvm13/include/llvm/Transforms/InstCombine/InstCombineWorklist.h:120:22: required from here 120 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm13/include/llvm/ADT/DenseMap.h:128:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 128 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/EventAssignCodeGen.cpp:21:49: required from here 21 | EventCodeGenBase(mgc) | ^ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/CodeGenBase.h:108:20: warning: ‘rrllvm::CodeGenBase::options’ will be initialized after [-Wreorder] 108 | const unsigned options; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/CodeGenBase.h:98:21: warning: ‘llvm::Function* rrllvm::CodeGenBase::function’ [-Wreorder] 98 | llvm::Function *function; | ^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/CodeGenBase.h:71:5: warning: when initialized here [-Wreorder] 71 | CodeGenBase(const ModelGeneratorContext &mgc) : | ^~~~~~~~~~~ [64/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/EventQueue.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/EventQueue.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop In file included from /usr/lib64/llvm13/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm13/include/llvm/PassSupport.h:29, from /usr/lib64/llvm13/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:25, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/EventQueue.cpp:9: /usr/lib64/llvm13/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/llvm13/include/llvm/Transforms/InstCombine/InstCombineWorklist.h:120:22: required from here 120 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm13/include/llvm/ADT/DenseMap.h:128:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 128 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/EventQueue.cpp:11: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:38: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions 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.9.2-build/libroadrunner-2.9.2/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [65/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/EventTriggerCodeGen.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/EventTriggerCodeGen.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop In file included from /usr/lib64/llvm13/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm13/include/llvm/PassSupport.h:29, from /usr/lib64/llvm13/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/ModelGeneratorContext.h:14, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/CodeGenBase.h:11, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/EventCodeGenBase.h:11, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/EventTriggerCodeGen.h:11, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/EventTriggerCodeGen.cpp:8: /usr/lib64/llvm13/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/llvm13/include/llvm/Transforms/InstCombine/InstCombineWorklist.h:120:22: required from here 120 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm13/include/llvm/ADT/DenseMap.h:128:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 128 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/EventTriggerCodeGen.cpp:21:50: required from here 21 | EventCodeGenBase(mgc) | ^ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/CodeGenBase.h:108:20: warning: ‘rrllvm::CodeGenBase::options’ will be initialized after [-Wreorder] 108 | const unsigned options; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/CodeGenBase.h:98:21: warning: ‘llvm::Function* rrllvm::CodeGenBase::function’ [-Wreorder] 98 | llvm::Function *function; | ^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/CodeGenBase.h:71:5: warning: when initialized here [-Wreorder] 71 | CodeGenBase(const ModelGeneratorContext &mgc) : | ^~~~~~~~~~~ [66/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/FunctionResolver.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/FunctionResolver.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/FunctionResolver.cpp:8: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/FunctionResolver.h: In constructor ‘rrllvm::FunctionResolver::FunctionResolver(rrllvm::LoadSymbolResolver&, llvm::Value*, const rrllvm::ModelGeneratorContext&)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/FunctionResolver.h:42:34: warning: ‘rrllvm::FunctionResolver::modelGenContext’ will be initialized after [-Wreorder] 42 | const ModelGeneratorContext& modelGenContext; | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/FunctionResolver.h:41:25: warning: ‘rrllvm::LoadSymbolResolver& rrllvm::FunctionResolver::parentResolver’ [-Wreorder] 41 | LoadSymbolResolver& parentResolver; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/FunctionResolver.cpp:29:1: warning: when initialized here [-Wreorder] 29 | FunctionResolver::FunctionResolver(LoadSymbolResolver& parentResolver, | ^~~~~~~~~~~~~~~~ In file included from /usr/lib64/llvm13/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm13/include/llvm/PassSupport.h:29, from /usr/lib64/llvm13/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/CodeGen.h:11, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/FunctionResolver.h:11: /usr/lib64/llvm13/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/llvm13/include/llvm/Transforms/InstCombine/InstCombineWorklist.h:120:22: required from here 120 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm13/include/llvm/ADT/DenseMap.h:128:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 128 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/FunctionResolver.cpp:11: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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++) { | ~~^~~~~~~ [67/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/GetEventValuesCodeGen.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetEventValuesCodeGen.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop In file included from /usr/lib64/llvm13/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm13/include/llvm/PassSupport.h:29, from /usr/lib64/llvm13/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/ModelGeneratorContext.h:14, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/CodeGenBase.h:11, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetEventValuesCodeGen.h:11, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetEventValuesCodeGen.cpp:8: /usr/lib64/llvm13/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/llvm13/include/llvm/Transforms/InstCombine/InstCombineWorklist.h:120:22: required from here 120 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm13/include/llvm/ADT/DenseMap.h:128:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 128 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/GetEventValuesCodeGen.cpp:28:48: required from here 28 | GetEventTriggerCodeGen_FunctionPtr>(mgc) | ^ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/CodeGenBase.h:108:20: warning: ‘rrllvm::CodeGenBase::options’ will be initialized after [-Wreorder] 108 | const unsigned options; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/CodeGenBase.h:98:21: warning: ‘llvm::Function* rrllvm::CodeGenBase::function’ [-Wreorder] 98 | llvm::Function *function; | ^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/CodeGenBase.h:71:5: warning: when initialized here [-Wreorder] 71 | CodeGenBase(const ModelGeneratorContext &mgc) : | ^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/GetEventValuesCodeGen.cpp:64:15: required from here 64 | node(0) | ^ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/CodeGenBase.h:108:20: warning: ‘rrllvm::CodeGenBase::options’ will be initialized after [-Wreorder] 108 | const unsigned options; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/CodeGenBase.h:98:21: warning: ‘llvm::Function* rrllvm::CodeGenBase::function’ [-Wreorder] 98 | llvm::Function *function; | ^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/CodeGenBase.h:71:5: warning: when initialized here [-Wreorder] 71 | CodeGenBase(const ModelGeneratorContext &mgc) : | ^~~~~~~~~~~ [68/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValuesCodeGen.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValuesCodeGen.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop In file included from /usr/lib64/llvm13/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm13/include/llvm/PassSupport.h:29, from /usr/lib64/llvm13/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/ModelGeneratorContext.h:14, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/CodeGenBase.h:11, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValuesCodeGen.h:11, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValuesCodeGen.cpp:8: /usr/lib64/llvm13/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/llvm13/include/llvm/Transforms/InstCombine/InstCombineWorklist.h:120:22: required from here 120 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm13/include/llvm/ADT/DenseMap.h:128:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 128 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValuesCodeGen.cpp:29:90: required from here 29 | GetInitialValueCodeGenBase(mgc) | ^ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/CodeGenBase.h:108:20: warning: ‘rrllvm::CodeGenBase::options’ will be initialized after [-Wreorder] 108 | const unsigned options; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/CodeGenBase.h:98:21: warning: ‘llvm::Function* rrllvm::CodeGenBase::function’ [-Wreorder] 98 | llvm::Function *function; | ^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValuesCodeGen.h:16: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions 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/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/GetPiecewiseTriggerCodeGen.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetPiecewiseTriggerCodeGen.cpp:4: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 4 | #pragma hdrstop In file included from /usr/lib64/llvm13/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm13/include/llvm/PassSupport.h:29, from /usr/lib64/llvm13/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/ModelGeneratorContext.h:14, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/CodeGenBase.h:11, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetPiecewiseTriggerCodeGen.h:9, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetPiecewiseTriggerCodeGen.cpp:5: /usr/lib64/llvm13/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/llvm13/include/llvm/Transforms/InstCombine/InstCombineWorklist.h:120:22: required from here 120 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm13/include/llvm/ADT/DenseMap.h:128:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 128 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/GetPiecewiseTriggerCodeGen.cpp:24:55: required from here 24 | , piecewiseTriggers(mgc.getPiecewiseTriggers()) | ^ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/CodeGenBase.h:108:20: warning: ‘rrllvm::CodeGenBase::options’ will be initialized after [-Wreorder] 108 | const unsigned options; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/CodeGenBase.h:98:21: warning: ‘llvm::Function* rrllvm::CodeGenBase::function’ [-Wreorder] 98 | llvm::Function *function; | ^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/CodeGenBase.h:71:5: warning: when initialized here [-Wreorder] 71 | CodeGenBase(const ModelGeneratorContext &mgc) : | ^~~~~~~~~~~ [70/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/GetValuesCodeGen.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValuesCodeGen.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop In file included from /usr/lib64/llvm13/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm13/include/llvm/PassSupport.h:29, from /usr/lib64/llvm13/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/ModelGeneratorContext.h:14, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/CodeGenBase.h:11, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValuesCodeGen.h:11, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValuesCodeGen.cpp:8: /usr/lib64/llvm13/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/llvm13/include/llvm/Transforms/InstCombine/InstCombineWorklist.h:120:22: required from here 120 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm13/include/llvm/ADT/DenseMap.h:128:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 128 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/GetValuesCodeGen.cpp:27:71: required from here 27 | GetValueCodeGenBase(mgc) | ^ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/CodeGenBase.h:108:20: warning: ‘rrllvm::CodeGenBase::options’ will be initialized after [-Wreorder] 108 | const unsigned options; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/CodeGenBase.h:98:21: warning: ‘llvm::Function* rrllvm::CodeGenBase::function’ [-Wreorder] 98 | llvm::Function *function; | ^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/GetValuesCodeGen.h:16: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [71/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/KineticLawParameterResolver.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/KineticLawParameterResolver.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop In file included from /usr/lib64/llvm13/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm13/include/llvm/PassSupport.h:29, from /usr/lib64/llvm13/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/CodeGen.h:11, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/KineticLawParameterResolver.h:11, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/KineticLawParameterResolver.cpp:8: /usr/lib64/llvm13/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/llvm13/include/llvm/Transforms/InstCombine/InstCombineWorklist.h:120:22: required from here 120 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm13/include/llvm/ADT/DenseMap.h:128:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 128 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ [72/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/Jit.cpp In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/Jit.cpp:8: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/Jit.h: In constructor ‘rrllvm::Jit::Jit(uint32_t)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/Jit.h:379:44: warning: ‘std::unique_ptr rrllvm::Jit::context’ [-Wreorder] 379 | std::unique_ptr context; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/Jit.cpp:36:5: warning: when initialized here [-Wreorder] 36 | Jit::Jit(std::uint32_t options) | ^~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/Jit.h:354:52: warning: ‘std::unique_ptr rrllvm::Jit::compiledModuleBinaryStream’ [-Wreorder] 354 | std::unique_ptr compiledModuleBinaryStream; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/Jit.cpp:36:5: warning: when initialized here [-Wreorder] 36 | Jit::Jit(std::uint32_t options) | ^~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/Jit.cpp: In member function ‘rrllvm::FnMap rrllvm::Jit::externalFunctionSignatures() const’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/Jit.cpp:369:29: warning: unused variable ‘fnTy_double_void_d4’ [-Wunused-variable] 369 | llvm::FunctionType *fnTy_double_void_d4 = llvm::FunctionType::get(double_type, args_void_double_quadruple,false); | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/Jit.cpp:370:29: warning: unused variable ‘fnTy_double_void_d3’ [-Wunused-variable] 370 | llvm::FunctionType *fnTy_double_void_d3 = llvm::FunctionType::get(double_type, args_void_double_triple, false); | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/Jit.cpp:371:29: warning: unused variable ‘fnTy_double_void_d2’ [-Wunused-variable] 371 | llvm::FunctionType *fnTy_double_void_d2 = llvm::FunctionType::get(double_type, args_void_double_double, false); | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/Jit.cpp:372:29: warning: unused variable ‘fnTy_double_void_d1’ [-Wunused-variable] 372 | llvm::FunctionType *fnTy_double_void_d1 = llvm::FunctionType::get(double_type, args_void_double, false); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/lib64/llvm13/include/llvm/Analysis/TargetLibraryInfo.h:13, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/Jit.h:22: /usr/lib64/llvm13/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/llvm13/include/llvm/Transforms/InstCombine/InstCombineWorklist.h:120:22: required from here 120 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm13/include/llvm/ADT/DenseMap.h:128:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 128 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:39, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/ModelResources.h:12, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/Jit.cpp:9: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:38: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions 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.9.2-build/libroadrunner-2.9.2/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [73/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/JitFactory.cpp [74/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelData.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelData.cpp:8: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 8 | #pragma hdrstop In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelData.cpp:18: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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++) { | ~~^~~~~~~ [75/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMCompiler.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMCompiler.cpp:10: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 10 | #pragma hdrstop In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMCompiler.cpp:13: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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/llvm13/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm13/include/llvm/PassSupport.h:29, from /usr/lib64/llvm13/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMCompiler.cpp:14: /usr/lib64/llvm13/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/llvm13/include/llvm/Transforms/InstCombine/InstCombineWorklist.h:120:22: required from here 120 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm13/include/llvm/ADT/DenseMap.h:128:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 128 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ [76/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/LLJit.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLJit.cpp: In constructor ‘rrllvm::LLJit::LLJit(uint32_t)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLJit.cpp:95:50: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 95 | llvm::logAllUnhandledErrors(std::move(expectedJTMB.takeError()), llvm::errs(), | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLJit.cpp:95:50: note: remove ‘std::move’ call /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLJit.cpp:122:50: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 122 | llvm::logAllUnhandledErrors(std::move(DL.takeError()), llvm::errs(), err); | ~~~~~~~~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLJit.cpp:122:50: note: remove ‘std::move’ call /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLJit.cpp:130:50: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 130 | llvm::logAllUnhandledErrors(std::move(expectedTargetMachine.takeError()), llvm::errs(), err); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLJit.cpp:130:50: note: remove ‘std::move’ call /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLJit.cpp:139:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 139 | std::move(DLSG.takeError()), | ~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLJit.cpp:139:30: note: remove ‘std::move’ call /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLJit.cpp:195:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 195 | std::move(llJitExpected.takeError()), llvm::errs(), "[LLJit creation failure] "); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLJit.cpp:195:30: note: remove ‘std::move’ call /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLJit.cpp: In member function ‘virtual uint64_t rrllvm::LLJit::lookupFunctionAddress(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLJit.cpp:253:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 253 | std::move(expectedSymbol.takeError()), | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLJit.cpp:253:30: note: remove ‘std::move’ call /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLJit.cpp: In member function ‘virtual std::unique_ptr rrllvm::LLJit::getCompiledModelFromCache(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLJit.cpp:331:25: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 331 | return std::move(objBuf); | ~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLJit.cpp:331:25: note: remove ‘std::move’ call In file included from /usr/lib64/llvm13/include/llvm/ADT/DenseSet.h:16, from /usr/lib64/llvm13/include/llvm/ExecutionEngine/Orc/Core.h:17, from /usr/lib64/llvm13/include/llvm/ExecutionEngine/Orc/IndirectionUtils.h:19, from /usr/lib64/llvm13/include/llvm/ExecutionEngine/Orc/CompileOnDemandLayer.h:22, from /usr/lib64/llvm13/include/llvm/ExecutionEngine/Orc/LLJIT.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SBMLModelObjectCache.h:20, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLJit.h:10, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLJit.cpp:6: /usr/lib64/llvm13/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/llvm13/include/llvm/Transforms/InstCombine/InstCombineWorklist.h:120:22: required from here 120 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm13/include/llvm/ADT/DenseMap.h:128:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 128 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ /usr/lib64/llvm13/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/llvm13/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/llvm13/include/llvm/ExecutionEngine/JITLink/JITLink.h:732:18: required from here 732 | Symbols.clear(); | ~~~~~~~~~~~~~^~ /usr/lib64/llvm13/include/llvm/ADT/DenseMap.h:128:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 128 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ /usr/lib64/llvm13/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/llvm13/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/llvm13/include/llvm/ExecutionEngine/JITLink/JITLink.h:733:17: required from here 733 | Blocks.clear(); | ~~~~~~~~~~~~^~ /usr/lib64/llvm13/include/llvm/ADT/DenseMap.h:128:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 128 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrConfig.h:13, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLJit.cpp:7: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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 ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/LLJit.cpp:148:95: required from here 148 | int numCompileThreads = rr::Config::getValue(rr::Config::LLJIT_NUM_THREADS).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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 ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/LLJit.cpp:148:95: required from here 148 | int numCompileThreads = rr::Config::getValue(rr::Config::LLJIT_NUM_THREADS).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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 ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/LLJit.cpp:148:95: required from here 148 | int numCompileThreads = rr::Config::getValue(rr::Config::LLJIT_NUM_THREADS).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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 ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/LLJit.cpp:148:95: required from here 148 | int numCompileThreads = rr::Config::getValue(rr::Config::LLJIT_NUM_THREADS).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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 ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/LLJit.cpp:148:95: required from here 148 | int numCompileThreads = rr::Config::getValue(rr::Config::LLJIT_NUM_THREADS).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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 ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/LLJit.cpp:148:95: required from here 148 | int numCompileThreads = rr::Config::getValue(rr::Config::LLJIT_NUM_THREADS).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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 ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/LLJit.cpp:148:95: required from here 148 | int numCompileThreads = rr::Config::getValue(rr::Config::LLJIT_NUM_THREADS).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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 ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/LLJit.cpp:148:95: required from here 148 | int numCompileThreads = rr::Config::getValue(rr::Config::LLJIT_NUM_THREADS).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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 ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/LLJit.cpp:148:95: required from here 148 | int numCompileThreads = rr::Config::getValue(rr::Config::LLJIT_NUM_THREADS).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [77/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelDataSymbols.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelDataSymbols.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelDataSymbols.cpp:15: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelDataSymbols.h: In constructor ‘rrllvm::LLVMModelDataSymbols::LLVMModelDataSymbols()’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelDataSymbols.h:732:13: warning: ‘rrllvm::LLVMModelDataSymbols::independentCompartmentSize’ will be initialized after [-Wreorder] 732 | size_t independentCompartmentSize; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelDataSymbols.h:640:10: warning: ‘uint rrllvm::LLVMModelDataSymbols::independentInitFloatingSpeciesSize’ [-Wreorder] 640 | uint independentInitFloatingSpeciesSize; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelDataSymbols.cpp:121:1: warning: when initialized here [-Wreorder] 121 | LLVMModelDataSymbols::LLVMModelDataSymbols() : | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelDataSymbols.h: In constructor ‘rrllvm::LLVMModelDataSymbols::LLVMModelDataSymbols(const Model*, unsigned int)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelDataSymbols.h:732:13: warning: ‘rrllvm::LLVMModelDataSymbols::independentCompartmentSize’ will be initialized after [-Wreorder] 732 | size_t independentCompartmentSize; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelDataSymbols.h:640:10: warning: ‘uint rrllvm::LLVMModelDataSymbols::independentInitFloatingSpeciesSize’ [-Wreorder] 640 | uint independentInitFloatingSpeciesSize; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelDataSymbols.cpp:136:1: warning: when initialized here [-Wreorder] 136 | LLVMModelDataSymbols::LLVMModelDataSymbols(const ::Model *model, unsigned options) | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelDataSymbols.cpp: In member function ‘rrllvm::LLVMModelDataSymbols::SymbolIndexType rrllvm::LLVMModelDataSymbols::getSymbolIndex(const std::string&, int&) const’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelDataSymbols.cpp:271:48: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 271 | for (int stoichIndex = 0 ; stoichIndex < stoichIds.size(); ++stoichIndex) { | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelDataSymbols.cpp: In member function ‘int rrllvm::LLVMModelDataSymbols::getStoichiometryIndex(const std::string&) const’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelDataSymbols.cpp:378:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 378 | for (int i = 0; i < stoichIds.size(); ++i) | ~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelDataSymbols.cpp: In member function ‘int rrllvm::LLVMModelDataSymbols::getStoichiometryIndex(const std::string&, const std::string&) const’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelDataSymbols.cpp:395:32: warning: comparison of integer expressions of different signedness: ‘const uint’ {aka ‘const unsigned int’} and ‘int’ [-Wsign-compare] 395 | if (stoichiometry->row == speciesIndex && stoichiometry->column == reactionIndex) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelDataSymbols.cpp:395:73: warning: comparison of integer expressions of different signedness: ‘const uint’ {aka ‘const unsigned int’} and ‘int’ [-Wsign-compare] 395 | if (stoichiometry->row == speciesIndex && stoichiometry->column == reactionIndex) | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelDataSymbols.cpp: In member function ‘int rrllvm::LLVMModelDataSymbols::getConservedMoietyIndex(const std::string&) const’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelDataSymbols.cpp:1908:16: warning: comparison of integer expressions of different signedness: ‘const unsigned int’ and ‘int’ [-Wsign-compare] 1908 | if (*i == gp) | ~~~^~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelDataSymbols.cpp:27: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelDataSymbols.cpp:1977:16: required from here 1977 | rr::loadBinary(in, conservedMoietySpeciesSet); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelDataSymbols.cpp:1978:16: required from here 1978 | rr::loadBinary(in, conservedMoietyGlobalParameter); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelDataSymbols.cpp:1979:16: required from here 1979 | rr::loadBinary(in, conservedMoietyGlobalParameterIndex); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelDataSymbols.cpp:1980:16: required from here 1980 | rr::loadBinary(in, floatingSpeciesToConservedMoietyIdMap); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelDataSymbols.cpp:1981:16: required from here 1981 | rr::loadBinary(in, conservedMoietyDepSpecies); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelDataSymbols.cpp:1982:16: required from here 1982 | rr::loadBinary(in, conservedMoietyIndSpecies); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelDataSymbols.cpp:2008:16: required from here 2008 | rr::loadBinary(in, stoichIds); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelDataSymbols.cpp:2010:16: required from here 2010 | rr::loadBinary(in, stoichTypes); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelDataSymbols.cpp:2021:16: required from here 2021 | rr::loadBinary(in, eventAssignmentsSize); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelDataSymbols.cpp:2022:16: required from here 2022 | rr::loadBinary(in, eventAttributes); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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++) { | ~~^~~~~~~ [78/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.cpp:8: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 8 | #pragma hdrstop In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.cpp:9: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h: In constructor ‘rrllvm::LLVMExecutableModel::LLVMExecutableModel()’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:662:33: warning: ‘rrllvm::LLVMExecutableModel::symbols’ will be initialized after [-Wreorder] 662 | const LLVMModelDataSymbols *symbols; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:660:20: warning: ‘rrllvm::LLVMModelData* rrllvm::LLVMExecutableModel::modelData’ [-Wreorder] 660 | LLVMModelData *modelData; | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.cpp:166:1: warning: when initialized here [-Wreorder] 166 | LLVMExecutableModel::LLVMExecutableModel() : | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:748:12: warning: ‘rrllvm::LLVMExecutableModel::conversionFactor’ will be initialized after [-Wreorder] 748 | double conversionFactor; | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:666:47: warning: ‘void (* rrllvm::LLVMExecutableModel::evalInitialConditionsPtr)(rrllvm::LLVMModelData*, size_t)’ [-Wreorder] 666 | EvalInitialConditionsCodeGen::FunctionPtr evalInitialConditionsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.cpp:166:1: warning: when initialized here [-Wreorder] 166 | LLVMExecutableModel::LLVMExecutableModel() : | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:666:47: warning: ‘rrllvm::LLVMExecutableModel::evalInitialConditionsPtr’ will be initialized after [-Wreorder] 666 | EvalInitialConditionsCodeGen::FunctionPtr evalInitialConditionsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:665:43: warning: ‘double (* rrllvm::LLVMExecutableModel::evalReactionRatesPtr)(rrllvm::LLVMModelData*)’ [-Wreorder] 665 | EvalReactionRatesCodeGen::FunctionPtr evalReactionRatesPtr; | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.cpp:166:1: warning: when initialized here [-Wreorder] 166 | LLVMExecutableModel::LLVMExecutableModel() : | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:672:44: warning: ‘rrllvm::LLVMExecutableModel::getGlobalParameterPtr’ will be initialized after [-Wreorder] 672 | GetGlobalParameterCodeGen::FunctionPtr getGlobalParameterPtr; | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:671:46: warning: ‘double (* rrllvm::LLVMExecutableModel::getCompartmentVolumePtr)(rrllvm::LLVMModelData*, size_t)’ [-Wreorder] 671 | GetCompartmentVolumeCodeGen::FunctionPtr getCompartmentVolumePtr; | ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.cpp:166:1: warning: when initialized here [-Wreorder] 166 | LLVMExecutableModel::LLVMExecutableModel() : | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:695:61: warning: ‘rrllvm::LLVMExecutableModel::getFloatingSpeciesInitConcentrationsPtr’ will be initialized after [-Wreorder] 695 | GetFloatingSpeciesInitConcentrationCodeGen::FunctionPtr getFloatingSpeciesInitConcentrationsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:693:61: warning: ‘bool (* rrllvm::LLVMExecutableModel::setFloatingSpeciesInitConcentrationsPtr)(rrllvm::LLVMModelData*, int32_t, double)’ [-Wreorder] 693 | SetFloatingSpeciesInitConcentrationCodeGen::FunctionPtr setFloatingSpeciesInitConcentrationsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.cpp:166:1: warning: when initialized here [-Wreorder] 166 | LLVMExecutableModel::LLVMExecutableModel() : | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:698:54: warning: ‘rrllvm::LLVMExecutableModel::getFloatingSpeciesInitAmountsPtr’ will be initialized after [-Wreorder] 698 | GetFloatingSpeciesInitAmountCodeGen::FunctionPtr getFloatingSpeciesInitAmountsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:697:54: warning: ‘bool (* rrllvm::LLVMExecutableModel::setFloatingSpeciesInitAmountsPtr)(rrllvm::LLVMModelData*, int32_t, double)’ [-Wreorder] 697 | SetFloatingSpeciesInitAmountCodeGen::FunctionPtr setFloatingSpeciesInitAmountsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.cpp:166:1: warning: when initialized here [-Wreorder] 166 | LLVMExecutableModel::LLVMExecutableModel() : | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:697:54: warning: ‘rrllvm::LLVMExecutableModel::setFloatingSpeciesInitAmountsPtr’ will be initialized after [-Wreorder] 697 | SetFloatingSpeciesInitAmountCodeGen::FunctionPtr setFloatingSpeciesInitAmountsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:696:61: warning: ‘double (* rrllvm::LLVMExecutableModel::getBoundarySpeciesInitConcentrationsPtr)(rrllvm::LLVMModelData*, size_t)’ [-Wreorder] 696 | GetBoundarySpeciesInitConcentrationCodeGen::FunctionPtr getBoundarySpeciesInitConcentrationsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.cpp:166:1: warning: when initialized here [-Wreorder] 166 | LLVMExecutableModel::LLVMExecutableModel() : | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:696:61: warning: ‘rrllvm::LLVMExecutableModel::getBoundarySpeciesInitConcentrationsPtr’ will be initialized after [-Wreorder] 696 | GetBoundarySpeciesInitConcentrationCodeGen::FunctionPtr getBoundarySpeciesInitConcentrationsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:694:61: warning: ‘bool (* rrllvm::LLVMExecutableModel::setBoundarySpeciesInitConcentrationsPtr)(rrllvm::LLVMModelData*, int32_t, double)’ [-Wreorder] 694 | SetBoundarySpeciesInitConcentrationCodeGen::FunctionPtr setBoundarySpeciesInitConcentrationsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.cpp:166:1: warning: when initialized here [-Wreorder] 166 | LLVMExecutableModel::LLVMExecutableModel() : | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:700:54: warning: ‘rrllvm::LLVMExecutableModel::getBoundarySpeciesInitAmountsPtr’ will be initialized after [-Wreorder] 700 | GetBoundarySpeciesInitAmountCodeGen::FunctionPtr getBoundarySpeciesInitAmountsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:699:54: warning: ‘bool (* rrllvm::LLVMExecutableModel::setBoundarySpeciesInitAmountsPtr)(rrllvm::LLVMModelData*, int32_t, double)’ [-Wreorder] 699 | SetBoundarySpeciesInitAmountCodeGen::FunctionPtr setBoundarySpeciesInitAmountsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.cpp:166:1: warning: when initialized here [-Wreorder] 166 | LLVMExecutableModel::LLVMExecutableModel() : | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:702:50: warning: ‘rrllvm::LLVMExecutableModel::getCompartmentInitVolumesPtr’ will be initialized after [-Wreorder] 702 | GetCompartmentInitVolumeCodeGen::FunctionPtr getCompartmentInitVolumesPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:701:50: warning: ‘bool (* rrllvm::LLVMExecutableModel::setCompartmentInitVolumesPtr)(rrllvm::LLVMModelData*, int32_t, double)’ [-Wreorder] 701 | SetCompartmentInitVolumeCodeGen::FunctionPtr setCompartmentInitVolumesPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.cpp:166:1: warning: when initialized here [-Wreorder] 166 | LLVMExecutableModel::LLVMExecutableModel() : | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h: In constructor ‘rrllvm::LLVMExecutableModel::LLVMExecutableModel(const std::shared_ptr&, rrllvm::LLVMModelData*)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:662:33: warning: ‘rrllvm::LLVMExecutableModel::symbols’ will be initialized after [-Wreorder] 662 | const LLVMModelDataSymbols *symbols; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:660:20: warning: ‘rrllvm::LLVMModelData* rrllvm::LLVMExecutableModel::modelData’ [-Wreorder] 660 | LLVMModelData *modelData; | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.cpp:212:1: warning: when initialized here [-Wreorder] 212 | LLVMExecutableModel::LLVMExecutableModel( | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:748:12: warning: ‘rrllvm::LLVMExecutableModel::conversionFactor’ will be initialized after [-Wreorder] 748 | double conversionFactor; | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:666:47: warning: ‘void (* rrllvm::LLVMExecutableModel::evalInitialConditionsPtr)(rrllvm::LLVMModelData*, size_t)’ [-Wreorder] 666 | EvalInitialConditionsCodeGen::FunctionPtr evalInitialConditionsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.cpp:212:1: warning: when initialized here [-Wreorder] 212 | LLVMExecutableModel::LLVMExecutableModel( | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:666:47: warning: ‘rrllvm::LLVMExecutableModel::evalInitialConditionsPtr’ will be initialized after [-Wreorder] 666 | EvalInitialConditionsCodeGen::FunctionPtr evalInitialConditionsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:665:43: warning: ‘double (* rrllvm::LLVMExecutableModel::evalReactionRatesPtr)(rrllvm::LLVMModelData*)’ [-Wreorder] 665 | EvalReactionRatesCodeGen::FunctionPtr evalReactionRatesPtr; | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.cpp:212:1: warning: when initialized here [-Wreorder] 212 | LLVMExecutableModel::LLVMExecutableModel( | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:695:61: warning: ‘rrllvm::LLVMExecutableModel::getFloatingSpeciesInitConcentrationsPtr’ will be initialized after [-Wreorder] 695 | GetFloatingSpeciesInitConcentrationCodeGen::FunctionPtr getFloatingSpeciesInitConcentrationsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:693:61: warning: ‘bool (* rrllvm::LLVMExecutableModel::setFloatingSpeciesInitConcentrationsPtr)(rrllvm::LLVMModelData*, int32_t, double)’ [-Wreorder] 693 | SetFloatingSpeciesInitConcentrationCodeGen::FunctionPtr setFloatingSpeciesInitConcentrationsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.cpp:212:1: warning: when initialized here [-Wreorder] 212 | LLVMExecutableModel::LLVMExecutableModel( | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:698:54: warning: ‘rrllvm::LLVMExecutableModel::getFloatingSpeciesInitAmountsPtr’ will be initialized after [-Wreorder] 698 | GetFloatingSpeciesInitAmountCodeGen::FunctionPtr getFloatingSpeciesInitAmountsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:697:54: warning: ‘bool (* rrllvm::LLVMExecutableModel::setFloatingSpeciesInitAmountsPtr)(rrllvm::LLVMModelData*, int32_t, double)’ [-Wreorder] 697 | SetFloatingSpeciesInitAmountCodeGen::FunctionPtr setFloatingSpeciesInitAmountsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.cpp:212:1: warning: when initialized here [-Wreorder] 212 | LLVMExecutableModel::LLVMExecutableModel( | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:697:54: warning: ‘rrllvm::LLVMExecutableModel::setFloatingSpeciesInitAmountsPtr’ will be initialized after [-Wreorder] 697 | SetFloatingSpeciesInitAmountCodeGen::FunctionPtr setFloatingSpeciesInitAmountsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:696:61: warning: ‘double (* rrllvm::LLVMExecutableModel::getBoundarySpeciesInitConcentrationsPtr)(rrllvm::LLVMModelData*, size_t)’ [-Wreorder] 696 | GetBoundarySpeciesInitConcentrationCodeGen::FunctionPtr getBoundarySpeciesInitConcentrationsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.cpp:212:1: warning: when initialized here [-Wreorder] 212 | LLVMExecutableModel::LLVMExecutableModel( | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:696:61: warning: ‘rrllvm::LLVMExecutableModel::getBoundarySpeciesInitConcentrationsPtr’ will be initialized after [-Wreorder] 696 | GetBoundarySpeciesInitConcentrationCodeGen::FunctionPtr getBoundarySpeciesInitConcentrationsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:694:61: warning: ‘bool (* rrllvm::LLVMExecutableModel::setBoundarySpeciesInitConcentrationsPtr)(rrllvm::LLVMModelData*, int32_t, double)’ [-Wreorder] 694 | SetBoundarySpeciesInitConcentrationCodeGen::FunctionPtr setBoundarySpeciesInitConcentrationsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.cpp:212:1: warning: when initialized here [-Wreorder] 212 | LLVMExecutableModel::LLVMExecutableModel( | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:700:54: warning: ‘rrllvm::LLVMExecutableModel::getBoundarySpeciesInitAmountsPtr’ will be initialized after [-Wreorder] 700 | GetBoundarySpeciesInitAmountCodeGen::FunctionPtr getBoundarySpeciesInitAmountsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:699:54: warning: ‘bool (* rrllvm::LLVMExecutableModel::setBoundarySpeciesInitAmountsPtr)(rrllvm::LLVMModelData*, int32_t, double)’ [-Wreorder] 699 | SetBoundarySpeciesInitAmountCodeGen::FunctionPtr setBoundarySpeciesInitAmountsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.cpp:212:1: warning: when initialized here [-Wreorder] 212 | LLVMExecutableModel::LLVMExecutableModel( | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:702:50: warning: ‘rrllvm::LLVMExecutableModel::getCompartmentInitVolumesPtr’ will be initialized after [-Wreorder] 702 | GetCompartmentInitVolumeCodeGen::FunctionPtr getCompartmentInitVolumesPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:701:50: warning: ‘bool (* rrllvm::LLVMExecutableModel::setCompartmentInitVolumesPtr)(rrllvm::LLVMModelData*, int32_t, double)’ [-Wreorder] 701 | SetCompartmentInitVolumeCodeGen::FunctionPtr setCompartmentInitVolumesPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.cpp:212:1: warning: when initialized here [-Wreorder] 212 | LLVMExecutableModel::LLVMExecutableModel( | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h: In constructor ‘rrllvm::LLVMExecutableModel::LLVMExecutableModel(std::istream&, uint)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:754:14: warning: ‘rrllvm::LLVMExecutableModel::dirty’ will be initialized after [-Wreorder] 754 | uint32_t dirty; | ^~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:748:12: warning: ‘double rrllvm::LLVMExecutableModel::conversionFactor’ [-Wreorder] 748 | double conversionFactor; | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.cpp:270:1: warning: when initialized here [-Wreorder] 270 | LLVMExecutableModel::LLVMExecutableModel(std::istream& in, uint modelGeneratorOpt) : | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.cpp: In member function ‘virtual void rrllvm::LLVMExecutableModel::reset(int)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.cpp:842:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 842 | for (int gid = 0; gid < modelData->numIndGlobalParameters; ++gid) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.cpp: In member function ‘virtual void rrllvm::LLVMExecutableModel::getIds(int, std::__cxx11::list >&)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.cpp:1212:30: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1212 | for (size_t i = 0; i < getNumFloatingSpecies(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.cpp:1223:30: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1223 | for (size_t i = 0; i < getNumFloatingSpecies(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.cpp:1233:30: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1233 | for (size_t i = 0; i < getNumBoundarySpecies(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.cpp:1243:30: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1243 | for (size_t s = 0; s < getNumIndFloatingSpecies(); ++s) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.cpp:1245:34: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1245 | for (size_t r = 0; r < getNumReactions(); ++r) { | ~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.cpp:1256:30: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1256 | for (size_t r = 0; r < getNumReactions(); ++r) { | ~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.cpp:1258:36: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1258 | for (size_t fs = 0; fs < getNumFloatingSpecies(); ++fs) { | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.cpp:1262:36: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1262 | for (size_t bs = 0; bs < getNumBoundarySpecies(); bs++) { | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.cpp:1270:34: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1270 | for (size_t g = 0; g < getNumGlobalParameters(); g++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.cpp:1325:30: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1325 | for (size_t r = 0; r < getNumReactions(); ++r) { | ~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.cpp:1327:36: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1327 | for (size_t bs = 0; bs < getNumBoundarySpecies(); bs++) { | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.cpp:1335:34: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1335 | for (size_t g = 0; g < getNumGlobalParameters(); g++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.cpp:1344:32: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1344 | for (size_t fs = 0; fs < getNumFloatingSpecies(); ++fs) { | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.cpp:1346:36: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1346 | for (size_t bs = 0; bs < getNumBoundarySpecies(); bs++) { | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.cpp:1354:34: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1354 | for (size_t g = 0; g < getNumGlobalParameters(); g++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.cpp:1366:30: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1366 | for (size_t r = 0; r < getNumReactions(); ++r) { | ~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.cpp:1368:36: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1368 | for (size_t bs = 0; bs < getNumBoundarySpecies(); bs++) { | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.cpp:1376:34: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1376 | for (size_t g = 0; g < getNumGlobalParameters(); g++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.cpp:1385:32: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1385 | for (size_t fs = 0; fs < getNumFloatingSpecies(); ++fs) { | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.cpp:1387:36: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1387 | for (size_t bs = 0; bs < getNumBoundarySpecies(); bs++) { | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.cpp:1395:34: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1395 | for (size_t g = 0; g < getNumGlobalParameters(); g++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.cpp: In member function ‘virtual int rrllvm::LLVMExecutableModel::setBoundarySpeciesAmounts(size_t, const int*, const double*, bool)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.cpp:1839:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 1839 | for (int i = 0; i < len; ++i) | ~~^~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.cpp: In member function ‘virtual int rrllvm::LLVMExecutableModel::setFloatingSpeciesAmounts(size_t, const int*, const double*, bool)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.cpp:1986:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 1986 | for (int i = 0; i < len; ++i) | ~~^~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.cpp: In member function ‘virtual int rrllvm::LLVMExecutableModel::setFloatingSpeciesConcentrations(size_t, const int*, const double*)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.cpp:2042:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 2042 | for (int i = 0; i < len; ++i) | ~~^~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.cpp: In member function ‘virtual int rrllvm::LLVMExecutableModel::setGlobalParameterValues(size_t, const int*, const double*, bool)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.cpp:2145:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 2145 | for (int i = 0; i < len; ++i) | ~~^~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.cpp: In member function ‘virtual int rrllvm::LLVMExecutableModel::getReactionRates(size_t, const int*, double*)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.cpp:2194:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 2194 | for (int i = 0; i < len; ++i) | ~~^~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.cpp:2197:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 2197 | if (j < modelData->numReactions) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.cpp: In member function ‘virtual int rrllvm::LLVMExecutableModel::getEventTriggers(size_t, const int*, unsigned char*)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.cpp:2511:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 2511 | for (int i = 0; i < len; ++i) | ~~^~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.cpp:2514:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 2514 | if (j < modelData->numEvents) | ~~^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib64/llvm13/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm13/include/llvm/PassSupport.h:29, from /usr/lib64/llvm13/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:25: /usr/lib64/llvm13/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/llvm13/include/llvm/Transforms/InstCombine/InstCombineWorklist.h:120:22: required from here 120 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm13/include/llvm/ADT/DenseMap.h:128:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 128 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.cpp:16: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.cpp:325:19: required from here 325 | rr::loadBinary(in, tieBreakMap); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:38: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions 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.9.2-build/libroadrunner-2.9.2/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [79/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelGenerator.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelGenerator.cpp:10: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 10 | #pragma hdrstop /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelGenerator.cpp: In function ‘void rrllvm::codeGeneration(ModelGeneratorContext&, uint32_t)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelGenerator.cpp:131:19: warning: variable ‘setBoundarySpeciesAmountIR’ set but not used [-Wunused-but-set-variable=] 131 | Function* setBoundarySpeciesAmountIR = nullptr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelGenerator.cpp:132:19: warning: variable ‘setBoundarySpeciesConcentrationIR’ set but not used [-Wunused-but-set-variable=] 132 | Function* setBoundarySpeciesConcentrationIR; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelGenerator.cpp:133:19: warning: variable ‘setFloatingSpeciesConcentrationIR’ set but not used [-Wunused-but-set-variable=] 133 | Function* setFloatingSpeciesConcentrationIR = nullptr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelGenerator.cpp:134:19: warning: variable ‘setCompartmentVolumeIR’ set but not used [-Wunused-but-set-variable=] 134 | Function* setCompartmentVolumeIR = nullptr; | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelGenerator.cpp:135:19: warning: variable ‘setFloatingSpeciesAmountIR’ set but not used [-Wunused-but-set-variable=] 135 | Function* setFloatingSpeciesAmountIR = nullptr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelGenerator.cpp:136:19: warning: variable ‘setGlobalParameterIR’ set but not used [-Wunused-but-set-variable=] 136 | Function* setGlobalParameterIR = nullptr; | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelGenerator.cpp:137:19: warning: variable ‘getFloatingSpeciesInitConcentrationsIR’ set but not used [-Wunused-but-set-variable=] 137 | Function* getFloatingSpeciesInitConcentrationsIR = nullptr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelGenerator.cpp:138:19: warning: variable ‘setFloatingSpeciesInitConcentrationsIR’ set but not used [-Wunused-but-set-variable=] 138 | Function* setFloatingSpeciesInitConcentrationsIR = nullptr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelGenerator.cpp:139:19: warning: variable ‘getFloatingSpeciesInitAmountsIR’ set but not used [-Wunused-but-set-variable=] 139 | Function* getFloatingSpeciesInitAmountsIR = nullptr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelGenerator.cpp:140:19: warning: variable ‘setFloatingSpeciesInitAmountsIR’ set but not used [-Wunused-but-set-variable=] 140 | Function* setFloatingSpeciesInitAmountsIR = nullptr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelGenerator.cpp:141:19: warning: variable ‘getBoundarySpeciesInitConcentrationsIR’ set but not used [-Wunused-but-set-variable=] 141 | Function* getBoundarySpeciesInitConcentrationsIR = nullptr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelGenerator.cpp:142:19: warning: variable ‘setBoundarySpeciesInitConcentrationsIR’ set but not used [-Wunused-but-set-variable=] 142 | Function* setBoundarySpeciesInitConcentrationsIR = nullptr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelGenerator.cpp:143:19: warning: variable ‘getBoundarySpeciesInitAmountsIR’ set but not used [-Wunused-but-set-variable=] 143 | Function* getBoundarySpeciesInitAmountsIR = nullptr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelGenerator.cpp:144:19: warning: variable ‘setBoundarySpeciesInitAmountsIR’ set but not used [-Wunused-but-set-variable=] 144 | Function* setBoundarySpeciesInitAmountsIR = nullptr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelGenerator.cpp:145:19: warning: variable ‘getCompartmentInitVolumesIR’ set but not used [-Wunused-but-set-variable=] 145 | Function* getCompartmentInitVolumesIR = nullptr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelGenerator.cpp:146:19: warning: variable ‘setCompartmentInitVolumesIR’ set but not used [-Wunused-but-set-variable=] 146 | Function* setCompartmentInitVolumesIR = nullptr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelGenerator.cpp:147:19: warning: variable ‘getGlobalParameterInitValueIR’ set but not used [-Wunused-but-set-variable=] 147 | Function* getGlobalParameterInitValueIR = nullptr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelGenerator.cpp:148:19: warning: variable ‘setGlobalParameterInitValueIR’ set but not used [-Wunused-but-set-variable=] 148 | Function* setGlobalParameterInitValueIR = nullptr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelGenerator.cpp: In static member function ‘static rr::ExecutableModel* rrllvm::LLVMModelGenerator::regenerateModel(rr::ExecutableModel*, SBMLDocument*, uint)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelGenerator.cpp:372:41: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 372 | if (index >= 0 && index < newModel->modelData->numInitGlobalParameters) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib64/llvm13/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm13/include/llvm/PassSupport.h:29, from /usr/lib64/llvm13/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:25, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelGenerator.h:19, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelGenerator.cpp:14: /usr/lib64/llvm13/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/llvm13/include/llvm/Transforms/InstCombine/InstCombineWorklist.h:120:22: required from here 120 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm13/include/llvm/ADT/DenseMap.h:128:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 128 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelGenerator.cpp:22: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:38: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions 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.9.2-build/libroadrunner-2.9.2/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [80/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/LoadSymbolResolverBase.cpp In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LoadSymbolResolverBase.cpp:7: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LoadSymbolResolverBase.h: In constructor ‘rrllvm::LoadSymbolResolverBase::LoadSymbolResolverBase(const rrllvm::ModelGeneratorContext&, llvm::Value*)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LoadSymbolResolverBase.h:81:18: warning: ‘rrllvm::LoadSymbolResolverBase::modelData’ will be initialized after [-Wreorder] 81 | llvm::Value *modelData; | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LoadSymbolResolverBase.h:78:33: warning: ‘const rrllvm::LLVMModelDataSymbols& rrllvm::LoadSymbolResolverBase::modelDataSymbols’ [-Wreorder] 78 | const LLVMModelDataSymbols &modelDataSymbols; | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LoadSymbolResolverBase.cpp:24:1: warning: when initialized here [-Wreorder] 24 | LoadSymbolResolverBase::LoadSymbolResolverBase( | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib64/llvm13/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm13/include/llvm/PassSupport.h:29, from /usr/lib64/llvm13/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/CodeGen.h:11, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LoadSymbolResolverBase.h:11: /usr/lib64/llvm13/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/llvm13/include/llvm/Transforms/InstCombine/InstCombineWorklist.h:120:22: required from here 120 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm13/include/llvm/ADT/DenseMap.h:128:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 128 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ [81/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelSymbols.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelSymbols.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelSymbols.cpp:8: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelSymbols.h: In constructor ‘rrllvm::LLVMModelSymbols::LLVMModelSymbols(const Model*, const rrllvm::LLVMModelDataSymbols&)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelSymbols.h:253:33: warning: ‘rrllvm::LLVMModelSymbols::symbols’ will be initialized after [-Wreorder] 253 | const LLVMModelDataSymbols &symbols; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelSymbols.h:248:34: warning: ‘std::vector rrllvm::LLVMModelSymbols::reactions’ [-Wreorder] 248 | std::vector reactions; | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelSymbols.cpp: In member function ‘virtual bool rrllvm::LLVMModelSymbols::visit(const Reaction&)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelSymbols.cpp:243:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 243 | for (int i = 0; i < products->size(); i++) | ~~^~~~~~~~~~~~~~~~~~ In file included from /usr/lib64/llvm13/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm13/include/llvm/PassSupport.h:29, from /usr/lib64/llvm13/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/ModelDataIRBuilder.h:14, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelSymbols.h:13: /usr/lib64/llvm13/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/llvm13/include/llvm/Transforms/InstCombine/InstCombineWorklist.h:120:22: required from here 120 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm13/include/llvm/ADT/DenseMap.h:128:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 128 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelSymbols.cpp:12: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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++) { | ~~^~~~~~~ [82/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/MCJit.cpp In file included from /usr/lib64/llvm13/include/llvm/Analysis/TargetLibraryInfo.h:13, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/Jit.h:22, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/MCJit.h:9, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/MCJit.cpp:5: /usr/lib64/llvm13/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/llvm13/include/llvm/Transforms/InstCombine/InstCombineWorklist.h:120:22: required from here 120 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm13/include/llvm/ADT/DenseMap.h:128:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 128 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:39, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/ModelResources.h:12, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/MCJit.cpp:10: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:38: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions 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.9.2-build/libroadrunner-2.9.2/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [83/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/ModelDataIRBuilder.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/ModelDataIRBuilder.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/ModelDataIRBuilder.cpp:8: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/ModelDataIRBuilder.h: In constructor ‘rrllvm::LLVMModelDataIRBuilderTesting::LLVMModelDataIRBuilderTesting(const rrllvm::LLVMModelDataSymbols&, llvm::IRBuilder<>&)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/ModelDataIRBuilder.h:397:37: warning: ‘rrllvm::LLVMModelDataIRBuilderTesting::symbols’ will be initialized after [-Wreorder] 397 | LLVMModelDataSymbols const& symbols; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/ModelDataIRBuilder.h:395:28: warning: ‘llvm::IRBuilder<>& rrllvm::LLVMModelDataIRBuilderTesting::builder’ [-Wreorder] 395 | llvm::IRBuilder<>& builder; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/ModelDataIRBuilder.cpp:777:1: warning: when initialized here [-Wreorder] 777 | LLVMModelDataIRBuilderTesting::LLVMModelDataIRBuilderTesting(LLVMModelDataSymbols const& symbols, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib64/llvm13/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm13/include/llvm/PassSupport.h:29, from /usr/lib64/llvm13/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/ModelDataIRBuilder.h:14: /usr/lib64/llvm13/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/llvm13/include/llvm/Transforms/InstCombine/InstCombineWorklist.h:120:22: required from here 120 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm13/include/llvm/ADT/DenseMap.h:128:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 128 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/ModelDataIRBuilder.cpp: At global scope: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/ModelDataIRBuilder.cpp:74:13: warning: ‘bool rrllvm::isArray(ModelDataFields)’ defined but not used [-Wunused-function] 74 | static bool isArray(ModelDataFields f) | ^~~~~~~ [84/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/ModelDataSymbolResolver.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/ModelDataSymbolResolver.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop In file included from /usr/lib64/llvm13/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm13/include/llvm/PassSupport.h:29, from /usr/lib64/llvm13/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/CodeGen.h:11, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LoadSymbolResolverBase.h:11, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/ModelDataSymbolResolver.h:11, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/ModelDataSymbolResolver.cpp:8: /usr/lib64/llvm13/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/llvm13/include/llvm/Transforms/InstCombine/InstCombineWorklist.h:120:22: required from here 120 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm13/include/llvm/ADT/DenseMap.h:128:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 128 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ [85/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/ModelInitialValueSymbolResolver.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/ModelInitialValueSymbolResolver.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop In file included from /usr/lib64/llvm13/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm13/include/llvm/PassSupport.h:29, from /usr/lib64/llvm13/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/CodeGen.h:11, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LoadSymbolResolverBase.h:11, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/ModelInitialValueSymbolResolver.h:11, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/ModelInitialValueSymbolResolver.cpp:8: /usr/lib64/llvm13/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/llvm13/include/llvm/Transforms/InstCombine/InstCombineWorklist.h:120:22: required from here 120 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm13/include/llvm/ADT/DenseMap.h:128:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 128 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ [86/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/ModelGeneratorContext.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/ModelGeneratorContext.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/ModelGeneratorContext.cpp:9: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/ModelGeneratorContext.h: In constructor ‘rrllvm::ModelGeneratorContext::ModelGeneratorContext(const SBMLDocument*, unsigned int, rrllvm::Jit*)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/ModelGeneratorContext.h:210:18: warning: ‘rrllvm::ModelGeneratorContext::options’ will be initialized after [-Wreorder] 210 | unsigned options; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/ModelGeneratorContext.h:208:17: warning: ‘rrllvm::Random* rrllvm::ModelGeneratorContext::random’ [-Wreorder] 208 | Random *random; | ^~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/ModelGeneratorContext.cpp:107:5: warning: when initialized here [-Wreorder] 107 | ModelGeneratorContext::ModelGeneratorContext(const ::SBMLDocument* doc_, unsigned options, | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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/llvm13/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm13/include/llvm/PassSupport.h:29, from /usr/lib64/llvm13/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/ModelGeneratorContext.h:14: /usr/lib64/llvm13/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/llvm13/include/llvm/Transforms/InstCombine/InstCombineWorklist.h:120:22: required from here 120 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm13/include/llvm/ADT/DenseMap.h:128:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 128 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/ModelGeneratorContext.cpp:19: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/ModelGeneratorContext.cpp: At global scope: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:39, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/ModelResources.h:12, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/ModelGeneratorContext.cpp:59: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:38: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions 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.9.2-build/libroadrunner-2.9.2/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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) { | ^~~~~~~~~~~~~~~~~~~~~~~~~ [87/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/SBMLModelObjectCache.cpp [88/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/SBMLSupportFunctions.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SBMLSupportFunctions.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop [89/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/SBMLInitialValueSymbolResolver.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SBMLInitialValueSymbolResolver.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop In file included from /usr/lib64/llvm13/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm13/include/llvm/PassSupport.h:29, from /usr/lib64/llvm13/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/CodeGen.h:11, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LoadSymbolResolverBase.h:11, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SBMLInitialValueSymbolResolver.h:11, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SBMLInitialValueSymbolResolver.cpp:8: /usr/lib64/llvm13/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/llvm13/include/llvm/Transforms/InstCombine/InstCombineWorklist.h:120:22: required from here 120 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm13/include/llvm/ADT/DenseMap.h:128:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 128 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ [90/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/ModelResources.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/ModelResources.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/ModelResources.cpp:9: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/ModelResources.h: In constructor ‘rrllvm::ModelResources::ModelResources()’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/ModelResources.h:99:48: warning: ‘rrllvm::ModelResources::executionEngine’ will be initialized after [-Wreorder] 99 | std::unique_ptr executionEngine; | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/ModelResources.h:98:44: warning: ‘std::unique_ptr rrllvm::ModelResources::context’ [-Wreorder] 98 | std::unique_ptr context; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/ModelResources.cpp:58:5: warning: when initialized here [-Wreorder] 58 | ModelResources::ModelResources() | ^~~~~~~~~~~~~~ In file included from /usr/lib64/llvm13/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm13/include/llvm/PassSupport.h:29, from /usr/lib64/llvm13/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:25, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/ModelResources.h:12: /usr/lib64/llvm13/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/llvm13/include/llvm/Transforms/InstCombine/InstCombineWorklist.h:120:22: required from here 120 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm13/include/llvm/ADT/DenseMap.h:128:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 128 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/ModelResources.cpp:13: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:38: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions 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.9.2-build/libroadrunner-2.9.2/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [91/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/Random.cpp In file included from /usr/lib64/llvm13/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm13/include/llvm/PassSupport.h:29, from /usr/lib64/llvm13/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/ModelGeneratorContext.h:14, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/Random.cpp:9: /usr/lib64/llvm13/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/llvm13/include/llvm/Transforms/InstCombine/InstCombineWorklist.h:120:22: required from here 120 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm13/include/llvm/ADT/DenseMap.h:128:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 128 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/Random.cpp:13: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrConfig.h:13, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/Random.cpp:12: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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: 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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/Random.cpp:62:64: required from here 62 | return Config::getValue(Config::RANDOM_SEED).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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: 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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/Random.cpp:62:64: required from here 62 | return Config::getValue(Config::RANDOM_SEED).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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: 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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/Random.cpp:62:64: required from here 62 | return Config::getValue(Config::RANDOM_SEED).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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: 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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/Random.cpp:62:64: required from here 62 | return Config::getValue(Config::RANDOM_SEED).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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: 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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/Random.cpp:62:64: required from here 62 | return Config::getValue(Config::RANDOM_SEED).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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: 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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/Random.cpp:62:64: required from here 62 | return Config::getValue(Config::RANDOM_SEED).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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: 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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/Random.cpp:62:64: required from here 62 | return Config::getValue(Config::RANDOM_SEED).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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: 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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/Random.cpp:62:64: required from here 62 | return Config::getValue(Config::RANDOM_SEED).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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: 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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/Random.cpp:62:64: required from here 62 | return Config::getValue(Config::RANDOM_SEED).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [92/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrConstants.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrConstants.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrConstants.cpp:2: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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++) { | ~~^~~~~~~ [93/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrException.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrException.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop [94/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrGetOptions.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrGetOptions.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop [95/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrConfig.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrConfig.cpp: In static member function ‘static std::vector > rr::Config::getKeyList()’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrConfig.cpp:10: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrConfig.cpp: At global scope: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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) { | ^~~~~ [96/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrExecutableModel.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrExecutableModel.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop [97/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrLogger.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrLogger.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrLogger.cpp:5: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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++) { | ~~^~~~~~~ [98/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValuesCodeGen.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValuesCodeGen.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop In file included from /usr/lib64/llvm13/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm13/include/llvm/PassSupport.h:29, from /usr/lib64/llvm13/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/ModelGeneratorContext.h:14, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/CodeGenBase.h:11, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValuesCodeGen.h:11, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValuesCodeGen.cpp:8: /usr/lib64/llvm13/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/llvm13/include/llvm/Transforms/InstCombine/InstCombineWorklist.h:120:22: required from here 120 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm13/include/llvm/ADT/DenseMap.h:128:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 128 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValuesCodeGen.cpp:32:90: required from here 32 | SetInitialValueCodeGenBase(mgc) | ^ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/CodeGenBase.h:108:20: warning: ‘rrllvm::CodeGenBase::options’ will be initialized after [-Wreorder] 108 | const unsigned options; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/CodeGenBase.h:98:21: warning: ‘llvm::Function* rrllvm::CodeGenBase::function’ [-Wreorder] 98 | llvm::Function *function; | ^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValuesCodeGen.h:16: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [99/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValuesCodeGen.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValuesCodeGen.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop In file included from /usr/lib64/llvm13/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm13/include/llvm/PassSupport.h:29, from /usr/lib64/llvm13/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/ModelGeneratorContext.h:14, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/CodeGenBase.h:11, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValuesCodeGen.h:11, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValuesCodeGen.cpp:8: /usr/lib64/llvm13/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/llvm13/include/llvm/Transforms/InstCombine/InstCombineWorklist.h:120:22: required from here 120 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm13/include/llvm/ADT/DenseMap.h:128:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 128 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValuesCodeGen.cpp:57:71: required from here 57 | SetValueCodeGenBase(mgc) | ^ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/CodeGenBase.h:108:20: warning: ‘rrllvm::CodeGenBase::options’ will be initialized after [-Wreorder] 108 | const unsigned options; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/CodeGenBase.h:98:21: warning: ‘llvm::Function* rrllvm::CodeGenBase::function’ [-Wreorder] 98 | llvm::Function *function; | ^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValuesCodeGen.h:16: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [100/215] : && /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/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/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/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 && : [101/215] cd /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/redhat-linux-build/wrappers/Python/roadrunner && /usr/bin/cmake -E make_directory /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/redhat-linux-build/wrappers/Python/roadrunner/CMakeFiles/roadrunner_python.dir /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/redhat-linux-build/wrappers/Python/roadrunner /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/redhat-linux-build/wrappers/Python/roadrunner/CMakeFiles/roadrunner_python.dir && /usr/bin/cmake -E env SWIG_LIB=/usr/share/swig/4.4.1 /usr/bin/swig -python -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/Python/roadrunner -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/Python/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/Python/roadrunner/ -I/usr/lib64/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/usr/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/redhat-linux-build/source -I/usr/include/rr-libstruct -I/usr/include/python3.14 -I/usr/lib64/python3.14/site-packages/numpy/_core/include -threads -doxygen -keyword -outdir /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/redhat-linux-build/wrappers/Python/roadrunner -c++ -interface _roadrunner -o /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/redhat-linux-build/wrappers/Python/roadrunner/CMakeFiles/roadrunner_python.dir/roadrunnerPYTHON_wrap.cxx /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/Python/roadrunner/roadrunner.i /usr/share/swig/4.4.1/python/pyiterators.swg:456: Warning 511: Can't use keyword arguments with overloaded functions (swig::SwigPyIterator::operator -(ptrdiff_t) const). /usr/share/swig/4.4.1/python/pyiterators.swg:457: Warning 511: Can't use keyword arguments with overloaded functions (swig::SwigPyIterator::operator -(swig::SwigPyIterator const &) const). /usr/share/swig/4.4.1/std/std_vector.i:91: Warning 511: Can't use keyword arguments with overloaded functions (std::vector< int >::__setslice__(std::vector< int >::difference_type,std::vector< int >::difference_type)). /usr/share/swig/4.4.1/std/std_vector.i:91: Warning 511: Can't use keyword arguments with overloaded functions (std::vector< int >::__setslice__(std::vector< int >::difference_type,std::vector< int >::difference_type,std::vector< int,std::allocator< int > > const &)). /usr/share/swig/4.4.1/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.4.1/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.4.1/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.4.1/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.4.1/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.4.1/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.4.1/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.4.1/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.4.1/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.4.1/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.4.1/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.4.1/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.4.1/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.4.1/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.4.1/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.4.1/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.4.1/std/std_vector.i:172: Warning 511: Can't use keyword arguments with overloaded functions (std::vector< rr::Dictionary const * >::__setslice__(std::vector< rr::Dictionary const * >::difference_type,std::vector< rr::Dictionary const * >::difference_type)). /usr/share/swig/4.4.1/std/std_vector.i:172: Warning 511: Can't use keyword arguments with overloaded functions (std::vector< rr::Dictionary const * >::__setslice__(std::vector< rr::Dictionary const * >::difference_type,std::vector< rr::Dictionary const * >::difference_type,std::vector< rr::Dictionary const *,std::allocator< rr::Dictionary const * > > const &)). /usr/share/swig/4.4.1/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.4.1/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.4.1/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.4.1/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.4.1/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.4.1/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.4.1/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.4.1/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.4.1/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.4.1/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.4.1/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.4.1/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.4.1/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.4.1/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.4.1/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.4.1/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.9.2-build/libroadrunner-2.9.2/source/Dictionary.h:145: Warning 476: Initialization using std::initializer_list. /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrExecutableModel.h:629: Warning 511: Can't use keyword arguments with overloaded functions (rr::ExecutableModel::setStoichiometry(int,double)). /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrExecutableModel.h:645: Warning 511: Can't use keyword arguments with overloaded functions (rr::ExecutableModel::getStoichiometry(int)). /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrExecutableModel.h:652: Warning 511: Can't use keyword arguments with overloaded functions (rr::ExecutableModel::getStoichiometry(int,int)). /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrExecutableModel.h:697: Warning 511: Can't use keyword arguments with overloaded functions (rr::ExecutableModel::getStoichiometryIndex(std::string const &)). /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrExecutableModel.h:703: Warning 511: Can't use keyword arguments with overloaded functions (rr::ExecutableModel::getStoichiometryIndex(std::string const &,std::string const &)). /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrExecutableModel.h:885: 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.9.2-build/libroadrunner-2.9.2/source/rrExecutableModel.h:917: Warning 511: Can't use keyword arguments with overloaded functions (rr::ExecutableModel::reset(int)). /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/Python/roadrunner/roadrunner.i:2364: Warning 511: Can't use keyword arguments with overloaded functions (rr::ExecutableModel::getFloatingSpeciesAmounts(size_t,int const *)). /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/Python/roadrunner/roadrunner.i:2374: Warning 511: Can't use keyword arguments with overloaded functions (rr::ExecutableModel::getFloatingSpeciesConcentrationRates(size_t,int const *)). /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/Python/roadrunner/roadrunner.i:2384: Warning 511: Can't use keyword arguments with overloaded functions (rr::ExecutableModel::getFloatingSpeciesConcentrations(size_t,int const *)). /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/Python/roadrunner/roadrunner.i:2394: Warning 511: Can't use keyword arguments with overloaded functions (rr::ExecutableModel::getBoundarySpeciesAmounts(size_t,int const *)). /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/Python/roadrunner/roadrunner.i:2404: Warning 511: Can't use keyword arguments with overloaded functions (rr::ExecutableModel::getBoundarySpeciesConcentrations(size_t,int const *)). /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/Python/roadrunner/roadrunner.i:2413: Warning 511: Can't use keyword arguments with overloaded functions (rr::ExecutableModel::getGlobalParameterValues(size_t,int const *)). /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/Python/roadrunner/roadrunner.i:2423: Warning 511: Can't use keyword arguments with overloaded functions (rr::ExecutableModel::getCompartmentVolumes(size_t,int const *)). /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/Python/roadrunner/roadrunner.i:2433: Warning 511: Can't use keyword arguments with overloaded functions (rr::ExecutableModel::getConservedMoietyValues(size_t,int const *)). /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/Python/roadrunner/roadrunner.i:2443: Warning 511: Can't use keyword arguments with overloaded functions (rr::ExecutableModel::getReactionRates(size_t,int const *)). /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/Python/roadrunner/roadrunner.i:2546: Warning 511: Can't use keyword arguments with overloaded functions (rr::ExecutableModel::setFloatingSpeciesAmounts(size_t,double const *)). /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/Python/roadrunner/roadrunner.i:2550: Warning 511: Can't use keyword arguments with overloaded functions (rr::ExecutableModel::setFloatingSpeciesConcentrations(size_t,double const *)). /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/Python/roadrunner/roadrunner.i:2554: Warning 511: Can't use keyword arguments with overloaded functions (rr::ExecutableModel::setBoundarySpeciesConcentrations(size_t,double const *)). /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/Python/roadrunner/roadrunner.i:2558: Warning 511: Can't use keyword arguments with overloaded functions (rr::ExecutableModel::setGlobalParameterValues(size_t,double const *)). /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/Python/roadrunner/roadrunner.i:2562: Warning 511: Can't use keyword arguments with overloaded functions (rr::ExecutableModel::setCompartmentVolumes(size_t,double const *)). /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/Python/roadrunner/roadrunner.i:2566: Warning 511: Can't use keyword arguments with overloaded functions (rr::ExecutableModel::setConservedMoietyValues(size_t,double const *)). /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/Python/roadrunner/roadrunner.i:2570: Warning 511: Can't use keyword arguments with overloaded functions (rr::ExecutableModel::setFloatingSpeciesInitConcentrations(size_t,double const *)). /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/Python/roadrunner/roadrunner.i:2574: Warning 511: Can't use keyword arguments with overloaded functions (rr::ExecutableModel::setFloatingSpeciesInitAmounts(size_t,double const *)). /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/Python/roadrunner/roadrunner.i:2578: Warning 511: Can't use keyword arguments with overloaded functions (rr::ExecutableModel::setCompartmentInitVolumes(size_t,double const *)). /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/Python/roadrunner/roadrunner.i:2589: 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.9.2-build/libroadrunner-2.9.2/wrappers/Python/roadrunner/roadrunner.i:2600: 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.9.2-build/libroadrunner-2.9.2/wrappers/Python/roadrunner/roadrunner.i:2610: 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.9.2-build/libroadrunner-2.9.2/wrappers/Python/roadrunner/roadrunner.i:2620: 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.9.2-build/libroadrunner-2.9.2/wrappers/Python/roadrunner/roadrunner.i:2630: 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.9.2-build/libroadrunner-2.9.2/wrappers/Python/roadrunner/roadrunner.i:2640: 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.9.2-build/libroadrunner-2.9.2/wrappers/Python/roadrunner/roadrunner.i:2650: 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.9.2-build/libroadrunner-2.9.2/wrappers/Python/roadrunner/roadrunner.i:2661: 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.9.2-build/libroadrunner-2.9.2/wrappers/Python/roadrunner/roadrunner.i:2672: 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.9.2-build/libroadrunner-2.9.2/wrappers/Python/roadrunner/roadrunner.i:2744: Warning 511: Can't use keyword arguments with overloaded functions (rr::ExecutableModel::getEvent(int)). /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/Python/roadrunner/roadrunner.i:2765: Warning 511: Can't use keyword arguments with overloaded functions (rr::ExecutableModel::getEvent(std::string const &)). /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrExecutableModel.h:1006: Warning 511: Can't use keyword arguments with overloaded functions (rr::operator <<(std::ostream &,rr::ExecutableModel *)). /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.h:519: Warning 511: Can't use keyword arguments with overloaded functions (rr::RoadRunner::reset(int)). /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.h:570: Warning 511: Can't use keyword arguments with overloaded functions (rr::RoadRunner::getValue(std::string const &)). /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.h:979: Warning 511: Can't use keyword arguments with overloaded functions (rr::RoadRunner::getuEE(std::string const &,std::string const &)). /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.h:986: 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.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.h:991: Warning 511: Can't use keyword arguments with overloaded functions (rr::RoadRunner::getEE(std::string const &,std::string const &)). /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.h:998: 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.9.2-build/libroadrunner-2.9.2/wrappers/Python/roadrunner/roadrunner.i:1177: Warning 511: Can't use keyword arguments with overloaded functions (rr::RoadRunner::getValue(rr::SelectionRecord const *)). /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrSelectionRecord.h:413: 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.9.2-build/libroadrunner-2.9.2/source/rrSelectionRecord.h:418: Warning 511: Can't use keyword arguments with overloaded functions (rr::SelectionRecord::SelectionRecord(std::string const)). /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrSelectionRecord.h:433: Warning 511: Can't use keyword arguments with overloaded functions (rr::operator <<(std::ostream &,rr::SelectionRecord const &)). /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/Integrator.h:155: Warning 511: Can't use keyword arguments with overloaded functions (rr::IntegratorException::IntegratorException(std::string const &)). /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Integrator.h:159: Warning 511: Can't use keyword arguments with overloaded functions (rr::IntegratorException::IntegratorException(std::string const &,std::string const &)). /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/SBMLValidator.h:66: Warning 511: Can't use keyword arguments with overloaded functions (rr::validateSBML(::SBMLDocument *,unsigned int)). /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/KinsolSteadyStateSolver.h:77: Warning 511: Can't use keyword arguments with overloaded functions (rr::KinsolSteadyStateSolver::setFScale(double)). /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/KinsolSteadyStateSolver.h:88: Warning 511: Can't use keyword arguments with overloaded functions (rr::KinsolSteadyStateSolver::setUScale(double)). /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/ForwardSensitivitySolver.h:39: Warning 511: Can't use keyword arguments with overloaded functions (rr::ForwardSensitivitySolver::ForwardSensitivitySolver(rr::ExecutableModel *)). /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.h:52: Warning 504: Function rr::CVODEIntegrator::Integrator(rr::ExecutableModel *) must have a return type. Ignored. /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.h:52: Warning 504: Function rr::CVODEIntegrator::Integrator() must have a return type. Ignored. /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.h:218: Warning 511: Can't use keyword arguments with overloaded functions (rr::CVODEIntegrator::ToString(int) const). /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.h:224: Warning 511: Can't use keyword arguments with overloaded functions (rr::CVODEIntegrator::ToString(size_t) const). /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.h:224: Warning 509: Overloaded method rr::CVODEIntegrator::ToString(size_t) const effectively ignored, /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.h:218: Warning 509: as it is shadowed by rr::CVODEIntegrator::ToString(int) const. /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/GillespieIntegrator.h:38: Warning 504: Function rr::GillespieIntegrator::Integrator(rr::ExecutableModel *) must have a return type. Ignored. /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/GillespieIntegrator.h:38: Warning 504: Function rr::GillespieIntegrator::Integrator() must have a return type. Ignored. /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/RK4Integrator.h:32: Warning 504: Function rr::RK4Integrator::Integrator(rr::ExecutableModel *) must have a return type. Ignored. /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/RK4Integrator.h:32: Warning 504: Function rr::RK4Integrator::Integrator() must have a return type. Ignored. /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/RK45Integrator.h:35: Warning 504: Function rr::RK45Integrator::Integrator(rr::ExecutableModel *) must have a return type. Ignored. /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/RK45Integrator.h:35: Warning 504: Function rr::RK45Integrator::Integrator() must have a return type. Ignored. /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/EulerIntegrator.h:47: Warning 504: Function rr::EulerIntegrator::Integrator(rr::ExecutableModel *) must have a return type. Ignored. /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/EulerIntegrator.h:47: Warning 504: Function rr::EulerIntegrator::Integrator() must have a return type. Ignored. [102/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrRoadRunnerOptions.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunnerOptions.cpp:6: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 6 | #pragma hdrstop /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunnerOptions.cpp: In member function ‘void rr::SimulateOptions::loadSBMLSettings(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunnerOptions.cpp:83:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 83 | for (int i = 0; i < lines.size(); i++) { | ~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunnerOptions.cpp:111:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 111 | for (int i = 0; i < vars.size(); i++) { | ~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunnerOptions.cpp:122:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 122 | for (int i = 0; i < vars.size(); i++) { | ~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunnerOptions.cpp:133:35: 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 < vars.size(); i++) { | ~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunnerOptions.cpp: In member function ‘virtual void rr::SimulateOptions::initialize()’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunnerOptions.cpp:229:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 229 | if (steps != times.size() - 1) { | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunnerOptions.cpp:10: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/Dictionary.h:11, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunnerOptions.h:12, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunnerOptions.cpp:8: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrRoadRunnerOptions.cpp:349:96: required from here 349 | (Config::LLVM_BACKEND_VALUES) Config::getValue(Config::LLVM_BACKEND).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrRoadRunnerOptions.cpp:349:96: required from here 349 | (Config::LLVM_BACKEND_VALUES) Config::getValue(Config::LLVM_BACKEND).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrRoadRunnerOptions.cpp:349:96: required from here 349 | (Config::LLVM_BACKEND_VALUES) Config::getValue(Config::LLVM_BACKEND).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrRoadRunnerOptions.cpp:349:96: required from here 349 | (Config::LLVM_BACKEND_VALUES) Config::getValue(Config::LLVM_BACKEND).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrRoadRunnerOptions.cpp:349:96: required from here 349 | (Config::LLVM_BACKEND_VALUES) Config::getValue(Config::LLVM_BACKEND).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrRoadRunnerOptions.cpp:349:96: required from here 349 | (Config::LLVM_BACKEND_VALUES) Config::getValue(Config::LLVM_BACKEND).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrRoadRunnerOptions.cpp:349:96: required from here 349 | (Config::LLVM_BACKEND_VALUES) Config::getValue(Config::LLVM_BACKEND).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrRoadRunnerOptions.cpp:349:96: required from here 349 | (Config::LLVM_BACKEND_VALUES) Config::getValue(Config::LLVM_BACKEND).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrRoadRunnerOptions.cpp:349:96: required from here 349 | (Config::LLVM_BACKEND_VALUES) Config::getValue(Config::LLVM_BACKEND).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [103/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrStringUtils.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrStringUtils.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrStringUtils.cpp: In function ‘std::string rr::removeChars(const std::string&, const std::string&)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrStringUtils.cpp: In function ‘size_t rr::findMatchingRightParenthesis(const std::string&, size_t)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrStringUtils.cpp: In function ‘int rr::getNumberOfFunctionArguments(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrStringUtils.cpp: In function ‘std::string rr::dblToStr(const double&)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrStringUtils.cpp:498:11: warning: unused variable ‘ptr’ [-Wunused-variable] 498 | char* ptr = gcvt(nt, sig, str); | ^~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrStringUtils.cpp: In function ‘std::string rr::toString(const std::vector >&, const std::string&)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrStringUtils.cpp:11: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrUtils.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrUtils.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrUtils.cpp: In function ‘bool rr::cleanFolder(const std::string&, const std::string&, const std::vector >&)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrUtils.cpp: In function ‘std::string rr::getFileContent(std::filesystem::__cxx11::path)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrUtils.cpp: In function ‘bool rr::copyValues(std::vector&, double*, const int&, const int&)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrUtils.cpp: In function ‘bool rr::copyStdVectorToCArray(const std::vector&, double*, int)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrUtils.cpp: In function ‘bool rr::copyStdVectorToCArray(const std::vector&, bool*, int)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrUtils.cpp: In function ‘double* rr::createVector(const std::vector&)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrUtils.cpp:38: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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++) { | ~~^~~~~~~ [105/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/Dictionary.cpp [106/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/Integrator.cpp In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Matrix3D.h:8, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/SensitivitySolver.h:9, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/ForwardSensitivitySolver.h:10, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.h:26, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Integrator.cpp:17: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Matrix.h:39:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Matrix.h:39:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Matrix.h:45:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 45 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Matrix.h:45:32: note: remove the ‘< >’ In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Integrator.h:21, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Integrator.cpp:16: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/Integrator.cpp:19: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/Integrator.cpp:20: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/EulerIntegrator.h: In member function ‘virtual double rr::EulerIntegrator::integrate(double, double)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/EulerIntegrator.h:151:37: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 151 | for (int k_ = 0; k_ < eventStatus.size(); ++k_) { | ~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Solver.h: At global scope: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/Integrator.cpp:21: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/RK45Integrator.h:125:25: note: by ‘virtual rr::Setting rr::RK45Integrator::getValue(std::string)’ 125 | virtual Setting getValue(std::string key); | ^~~~~~~~ In file included from /usr/lib64/llvm13/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm13/include/llvm/PassSupport.h:29, from /usr/lib64/llvm13/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:25, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/ForwardSensitivitySolver.h:13: /usr/lib64/llvm13/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/llvm13/include/llvm/Transforms/InstCombine/InstCombineWorklist.h:120:22: required from here 120 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm13/include/llvm/ADT/DenseMap.h:128:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 128 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Dictionary.h:11, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Integrator.h:19: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/EulerIntegrator.h:112:42: required from here 112 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/EulerIntegrator.h:112:42: required from here 112 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/EulerIntegrator.h:112:42: required from here 112 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/EulerIntegrator.h:112:42: required from here 112 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/EulerIntegrator.h:112:42: required from here 112 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/EulerIntegrator.h:112:42: required from here 112 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/EulerIntegrator.h:112:42: required from here 112 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/EulerIntegrator.h:112:42: required from here 112 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/EulerIntegrator.h:112:42: required from here 112 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h: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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:38: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions 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.9.2-build/libroadrunner-2.9.2/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [107/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/RK4Integrator.cpp In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Integrator.h:21, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/RK4Integrator.h:11, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/RK4Integrator.cpp:8: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/RK4Integrator.cpp: In member function ‘virtual double rr::RK4Integrator::integrate(double, double)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/RK4Integrator.cpp:72:29: warning: unused variable ‘epsilon’ [-Wunused-variable] 72 | static const double epsilon = 1e-12; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/RK4Integrator.cpp:74:14: warning: variable ‘singleStep’ set but not used [-Wunused-but-set-variable=] 74 | bool singleStep; | ^~~~~~~~~~ [108/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/GillespieIntegrator.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/GillespieIntegrator.cpp: In member function ‘void rr::GillespieIntegrator::setEngineSeed(rr::Setting)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/GillespieIntegrator.cpp:427:18: warning: comparison of integer expressions of different signedness: ‘uint64_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 427 | if (seed != -1) { | ~~~~~^~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/GillespieIntegrator.cpp:9: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/Dictionary.h:11, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Integrator.h:19, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/GillespieIntegrator.h:19, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/GillespieIntegrator.cpp:8: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/GillespieIntegrator.cpp:308:31: required from here 308 | if ((bool)getValue("nonnegative")) { | ~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/GillespieIntegrator.cpp:308:31: required from here 308 | if ((bool)getValue("nonnegative")) { | ~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/GillespieIntegrator.cpp:308:31: required from here 308 | if ((bool)getValue("nonnegative")) { | ~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/GillespieIntegrator.cpp:308:31: required from here 308 | if ((bool)getValue("nonnegative")) { | ~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/GillespieIntegrator.cpp:308:31: required from here 308 | if ((bool)getValue("nonnegative")) { | ~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/GillespieIntegrator.cpp:308:31: required from here 308 | if ((bool)getValue("nonnegative")) { | ~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/GillespieIntegrator.cpp:308:31: required from here 308 | if ((bool)getValue("nonnegative")) { | ~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/GillespieIntegrator.cpp:308:31: required from here 308 | if ((bool)getValue("nonnegative")) { | ~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/GillespieIntegrator.cpp:308:31: required from here 308 | if ((bool)getValue("nonnegative")) { | ~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [109/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/RK45Integrator.cpp In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Integrator.h:21, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/RK45Integrator.h:17, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/RK45Integrator.cpp:9: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/RK45Integrator.h:125:25: note: by ‘virtual rr::Setting rr::RK45Integrator::getValue(std::string)’ 125 | virtual Setting getValue(std::string key); | ^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/RK45Integrator.cpp: In member function ‘virtual double rr::RK45Integrator::integrate(double, double)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/RK45Integrator.cpp:164:27: warning: comparison of integer expressions of different signedness: ‘integer’ {aka ‘int’} and ‘unsigned int’ [-Wsign-compare] 164 | for (i = 0; i < stateVectorSize; i++) { | ~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/RK45Integrator.cpp:227:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 227 | for (int i = 0; i < stateVectorSize; ++i) { | ~~^~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrConfig.h:13, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/RK45Integrator.cpp:8: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/RK45Integrator.cpp:59:37: required from here 59 | hmin = (double) getValue("minimum_time_step"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/RK45Integrator.cpp:59:37: required from here 59 | hmin = (double) getValue("minimum_time_step"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/RK45Integrator.cpp:59:37: required from here 59 | hmin = (double) getValue("minimum_time_step"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/RK45Integrator.cpp:59:37: required from here 59 | hmin = (double) getValue("minimum_time_step"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/RK45Integrator.cpp:59:37: required from here 59 | hmin = (double) getValue("minimum_time_step"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/RK45Integrator.cpp:59:37: required from here 59 | hmin = (double) getValue("minimum_time_step"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/RK45Integrator.cpp:59:37: required from here 59 | hmin = (double) getValue("minimum_time_step"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/RK45Integrator.cpp:59:37: required from here 59 | hmin = (double) getValue("minimum_time_step"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/RK45Integrator.cpp:59:37: required from here 59 | hmin = (double) getValue("minimum_time_step"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [110/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrTestSuiteModelSimulation.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrTestSuiteModelSimulation.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrTestSuiteModelSimulation.cpp: In member function ‘bool rr::TestSuiteModelSimulation::LoadReferenceData(std::filesystem::__cxx11::path)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrTestSuiteModelSimulation.cpp: In member function ‘bool rr::TestSuiteModelSimulation::SaveAllData()’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrSBMLModelSimulation.h:7, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrTestSuiteModelSimulation.h:5, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrTestSuiteModelSimulation.cpp:7: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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++) { | ~~^~~~~~~ [111/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrIniKey.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrIniKey.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrIniKey.h:8, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrIniKey.cpp:2: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrIniSection.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrIniSection.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrIniSection.cpp: In member function ‘rr::IniKey* rr::IniSection::GetKey(const int&)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrIniSection.cpp:2: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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++) { | ~~^~~~~~~ [113/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Matrix3D.h:8, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/SensitivitySolver.h:9, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/ForwardSensitivitySolver.h:10, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.h:26, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.cpp:3: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Matrix.h:39:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Matrix.h:39:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Matrix.h:45:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 45 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Matrix.h:45:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.h: In constructor ‘rr::CVODEIntegrator::CVODEIntegrator(rr::ExecutableModel*)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.h:257:18: warning: ‘rr::CVODEIntegrator::mStateVector’ will be initialized after [-Wreorder] 257 | N_Vector mStateVector = nullptr; | ^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.h:256:15: warning: ‘void* rr::CVODEIntegrator::mCVODE_Memory’ [-Wreorder] 256 | void *mCVODE_Memory = nullptr; | ^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.cpp:84:5: warning: when initialized here [-Wreorder] 84 | CVODEIntegrator::CVODEIntegrator(ExecutableModel *aModel) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.h:311:14: warning: ‘rr::CVODEIntegrator::stateVectorVariables’ will be initialized after [-Wreorder] 311 | bool stateVectorVariables; | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.h:265:14: warning: ‘bool rr::CVODEIntegrator::variableStepPendingEvent’ [-Wreorder] 265 | bool variableStepPendingEvent; | ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.cpp:84:5: warning: when initialized here [-Wreorder] 84 | CVODEIntegrator::CVODEIntegrator(ExecutableModel *aModel) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.cpp: In member function ‘void rr::CVODEIntegrator::checkVectorSize(int, size_t) const’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.cpp:132:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 132 | if (expected != real) | ~~~~~~~~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.cpp: In member function ‘virtual void rr::CVODEIntegrator::loadSBMLSettings(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.cpp:255:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 255 | for (int i = 0; i < lines.size(); i++) { | ~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.cpp: In member function ‘virtual void rr::CVODEIntegrator::tweakTolerances()’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.cpp:605:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 605 | for (int i = 0; i < v.size(); i++) | ~~^~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.cpp: In member function ‘virtual std::vector rr::CVODEIntegrator::getAbsoluteToleranceVector()’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.cpp:831:46: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 831 | if (amount_tolerances.size() == species + rrs) { | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.cpp: In member function ‘void rr::CVODEIntegrator::setCVODETolerances()’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.cpp:913:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 913 | for (int i = 0; i < amount_tolerances.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib64/llvm13/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm13/include/llvm/PassSupport.h:29, from /usr/lib64/llvm13/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:25, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/ForwardSensitivitySolver.h:13: /usr/lib64/llvm13/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/llvm13/include/llvm/Transforms/InstCombine/InstCombineWorklist.h:120:22: required from here 120 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm13/include/llvm/ADT/DenseMap.h:128:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 128 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.cpp:7: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/Dictionary.h:11, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Integrator.h:19, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.h:17: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.cpp:352:42: required from here 352 | if (getValue("stiff").getAs()) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.cpp:352:42: required from here 352 | if (getValue("stiff").getAs()) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.cpp:352:42: required from here 352 | if (getValue("stiff").getAs()) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.cpp:352:42: required from here 352 | if (getValue("stiff").getAs()) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.cpp:352:42: required from here 352 | if (getValue("stiff").getAs()) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.cpp:352:42: required from here 352 | if (getValue("stiff").getAs()) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.cpp:352:42: required from here 352 | if (getValue("stiff").getAs()) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.cpp:352:42: required from here 352 | if (getValue("stiff").getAs()) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.cpp:352:42: required from here 352 | if (getValue("stiff").getAs()) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.cpp:355:49: required from here 355 | if (newValue <= oldOrderValue.getAs()) { | ~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.cpp:355:49: required from here 355 | if (newValue <= oldOrderValue.getAs()) { | ~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.cpp:355:49: required from here 355 | if (newValue <= oldOrderValue.getAs()) { | ~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.cpp:355:49: required from here 355 | if (newValue <= oldOrderValue.getAs()) { | ~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.cpp:355:49: required from here 355 | if (newValue <= oldOrderValue.getAs()) { | ~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.cpp:355:49: required from here 355 | if (newValue <= oldOrderValue.getAs()) { | ~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.cpp:355:49: required from here 355 | if (newValue <= oldOrderValue.getAs()) { | ~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.cpp:355:49: required from here 355 | if (newValue <= oldOrderValue.getAs()) { | ~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.cpp:355:49: required from here 355 | if (newValue <= oldOrderValue.getAs()) { | ~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.cpp:387:66: required from here 387 | CVodeSetInitStep(mCVODE_Memory, (double) getValue("initial_time_step")); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.cpp:387:66: required from here 387 | CVodeSetInitStep(mCVODE_Memory, (double) getValue("initial_time_step")); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.cpp:387:66: required from here 387 | CVodeSetInitStep(mCVODE_Memory, (double) getValue("initial_time_step")); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.cpp:387:66: required from here 387 | CVodeSetInitStep(mCVODE_Memory, (double) getValue("initial_time_step")); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.cpp:387:66: required from here 387 | CVodeSetInitStep(mCVODE_Memory, (double) getValue("initial_time_step")); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.cpp:387:66: required from here 387 | CVodeSetInitStep(mCVODE_Memory, (double) getValue("initial_time_step")); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.cpp:387:66: required from here 387 | CVodeSetInitStep(mCVODE_Memory, (double) getValue("initial_time_step")); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.cpp:387:66: required from here 387 | CVodeSetInitStep(mCVODE_Memory, (double) getValue("initial_time_step")); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.cpp:387:66: required from here 387 | CVodeSetInitStep(mCVODE_Memory, (double) getValue("initial_time_step")); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h: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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:38: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions 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.9.2-build/libroadrunner-2.9.2/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [114/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrFileName.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrFileName.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrFileName.cpp:2: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrIniFile.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrIniFile.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrIniFile.cpp:10: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrIniFile.h: In constructor ‘rr::IniFile::IniFile(const std::string&, bool, bool)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrIniFile.h:42:29: warning: ‘const int rr::IniFile::mAutoCreateKeys’ [-Wreorder] 42 | const int mAutoCreateKeys; | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrIniFile.h:42:29: warning: ‘rr::IniFile::mAutoCreateKeys’ will be initialized after [-Wreorder] 42 | const int mAutoCreateKeys; | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrIniFile.h:38:29: warning: ‘const int rr::IniFile::mAutoCreateSections’ [-Wreorder] 38 | const int mAutoCreateSections; | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrIniFile.cpp:7: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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++) { | ~~^~~~~~~ [116/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrRoadRunnerData.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunnerData.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunnerData.cpp:10: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunnerData.h: In constructor ‘rr::RoadRunnerData::RoadRunnerData(const std::vector >&, const ls::DoubleMatrix&)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrRoadRunnerData.h:126:34: warning: ‘std::vector > rr::RoadRunnerData::mColumnNames’ [-Wreorder] 126 | std::vector mColumnNames; | ^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunnerData.cpp:32:1: warning: when initialized here [-Wreorder] 32 | RoadRunnerData::RoadRunnerData(const std::vector& colNames, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunnerData.h: In constructor ‘rr::RoadRunnerData::RoadRunnerData(const rr::RoadRunner*)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrRoadRunnerData.h:131:22: warning: ‘ls::DoubleMatrix rr::RoadRunnerData::mTheData’ [-Wreorder] 131 | DoubleMatrix mTheData; | ^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunnerData.cpp:41:1: warning: when initialized here [-Wreorder] 41 | RoadRunnerData::RoadRunnerData(const RoadRunner* rr) : | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrRoadRunnerData.cpp: In member function ‘bool rr::RoadRunnerData::append(const rr::RoadRunnerData&)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrRoadRunnerData.cpp: In member function ‘std::string rr::RoadRunnerData::getColumnName(int) const’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrRoadRunnerData.cpp: In member function ‘std::string rr::RoadRunnerData::getColumnNamesAsString() const’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrRoadRunnerData.cpp: In member function ‘bool rr::RoadRunnerData::loadSimpleFormat(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrRoadRunnerData.cpp: In function ‘std::istream& rr::operator>>(std::istream&, RoadRunnerData&)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunnerData.cpp:5: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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++) { | ~~^~~~~~~ [117/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrSelectionRecord.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrSelectionRecord.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop [118/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrVersionInfo.cpp In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrVersionInfo.cpp:2: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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++) { | ~~^~~~~~~ [119/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrSparse.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrSparse.cpp:8: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 8 | #pragma hdrstop In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrSparse.cpp:22: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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++) { | ~~^~~~~~~ [120/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrSBMLReader.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrSBMLReader.cpp:4: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 4 | #pragma hdrstop /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrSBMLReader.cpp: In function ‘std::string rr::flatten_comp(const std::string&, std::string)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrSBMLReader.cpp:219:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 219 | for (int i = 0; i < log->getNumErrors(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~ [121/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/ExecutableModelFactory.cpp In file included from /usr/lib64/llvm13/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm13/include/llvm/PassSupport.h:29, from /usr/lib64/llvm13/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:25, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelGenerator.h:19, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/ExecutableModelFactory.cpp:19: /usr/lib64/llvm13/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/llvm13/include/llvm/Transforms/InstCombine/InstCombineWorklist.h:120:22: required from here 120 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm13/include/llvm/ADT/DenseMap.h:128:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 128 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:38: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions 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.9.2-build/libroadrunner-2.9.2/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [122/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/SBMLValidator.cpp [123/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Matrix3D.h:8, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/SensitivitySolver.h:9, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/ForwardSensitivitySolver.h:10, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:9: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Matrix.h:39:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Matrix.h:39:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Matrix.h:45:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 45 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Matrix.h:45:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp: In constructor ‘rr::RoadRunnerImpl::RoadRunnerImpl(const std::string&, const rr::Dictionary*)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:234:25: warning: ‘rr::RoadRunnerImpl::simulateOpt’ will be initialized after [-Wreorder] 234 | SimulateOptions simulateOpt; | ^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:187:13: warning: ‘int rr::RoadRunnerImpl::mInstanceID’ [-Wreorder] 187 | int mInstanceID; | ^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:253:9: warning: when initialized here [-Wreorder] 253 | RoadRunnerImpl(const std::string &uriOrSBML, const Dictionary *dict) : | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp: In constructor ‘rr::RoadRunnerImpl::RoadRunnerImpl(const std::string&, const std::string&, const std::string&)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:234:25: warning: ‘rr::RoadRunnerImpl::simulateOpt’ will be initialized after [-Wreorder] 234 | SimulateOptions simulateOpt; | ^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:187:13: warning: ‘int rr::RoadRunnerImpl::mInstanceID’ [-Wreorder] 187 | int mInstanceID; | ^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:270:9: warning: when initialized here [-Wreorder] 270 | RoadRunnerImpl(const std::string &_compiler, const std::string &_tempDir, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp: In static member function ‘static std::vector > rr::RoadRunner::getRegisteredIntegratorNames()’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:872:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 872 | for (int n = 0; n < IntegratorFactory::getInstance().size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp: In static member function ‘static std::vector > rr::RoadRunner::getRegisteredSteadyStateSolverNames()’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:880:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 880 | for (int n = 0; n < SteadyStateSolverFactory::getInstance().size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp: In static member function ‘static std::vector > rr::RoadRunner::getRegisteredSensitivitySolverNames()’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:888:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 888 | for (int n = 0; n < SensitivitySolverFactory::getInstance().size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp: In member function ‘size_t rr::RoadRunner::createDefaultTimeCourseSelectionList()’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:1046:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 1046 | for (int i = 0; i < numFloatingSpecies; i++) { | ~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:1059:18: warning: catching polymorphic type ‘class rr::NotImplementedException’ by value [-Wcatch-value=] 1059 | } catch (NotImplementedException) { | ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:1074:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1074 | for (int i = 0; i < impl->mSelectionList.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp: In member function ‘size_t rr::RoadRunner::createTimeCourseSelectionList()’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp: In member function ‘double rr::RoadRunner::getValue(const rr::SelectionRecord&)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:1164:29: warning: catching polymorphic type ‘class std::out_of_range’ by value [-Wcatch-value=] 1164 | catch (std::out_of_range) { | ^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:1179:29: warning: catching polymorphic type ‘class std::out_of_range’ by value [-Wcatch-value=] 1179 | catch (std::out_of_range) { | ^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:1192:29: warning: catching polymorphic type ‘class std::invalid_argument’ by value [-Wcatch-value=] 1192 | catch (std::invalid_argument) { | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:1205:29: warning: catching polymorphic type ‘class std::out_of_range’ by value [-Wcatch-value=] 1205 | catch (std::out_of_range) { | ^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:1218:29: warning: catching polymorphic type ‘class std::invalid_argument’ by value [-Wcatch-value=] 1218 | catch (std::invalid_argument) { | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:1297:32: warning: comparison of integer expressions of different signedness: ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1297 | if (eig.size() <= index) { | ~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:1315:32: warning: comparison of integer expressions of different signedness: ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1315 | if (eig.size() <= index) { | ~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp: In member function ‘bool rr::RoadRunner::populateResult()’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:1557:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1557 | for (int i = 0; i < impl->mSelectionList.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp: In function ‘bool rr::hasTime(const ASTNode*)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:1966:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 1966 | for (int c = 0; c < astn->getNumChildren(); c++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp: In member function ‘const ls::DoubleMatrix* rr::RoadRunner::simulate(const rr::SimulateOptions*)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:2006:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 2006 | for (int e = 0; e < loe->size(); e++) { | ~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:2055:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2055 | for (int i = 1; i < selList.size(); i++) { | ~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:2100:55: warning: comparison of integer expressions of different signedness: ‘std::__cxx11::list >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 2100 | if (writeToFile && results.size() >= kRowsPerWrite) { | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:2134:47: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2134 | for (int n = 0; n < row.size(); ++n) { | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:2150:47: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2150 | for (int n = 0; n < row.size(); ++n) { | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:2297:28: warning: unused variable ‘itime’ [-Wunused-variable] 2297 | double itime = self.integrator->integrate(tout, next - tout); | ^~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp: In member function ‘ls::DoubleMatrix rr::RoadRunner::getFloatingSpeciesAmountsNamedArray()’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:2464:24: warning: unused variable ‘ls’ [-Wunused-variable] 2464 | LibStructural *ls = getLibStruct(); | ^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp: In member function ‘ls::DoubleMatrix rr::RoadRunner::getFloatingSpeciesConcentrationsNamedArray()’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:2485:24: warning: unused variable ‘ls’ [-Wunused-variable] 2485 | LibStructural *ls = getLibStruct(); | ^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp: In member function ‘ls::DoubleMatrix rr::RoadRunner::getIndependentFloatingSpeciesAmountsNamedArray()’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:2552:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 2552 | for (int i = 0; i < num_ind; i++) { | ~~^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp: In member function ‘ls::DoubleMatrix rr::RoadRunner::getDependentFloatingSpeciesAmountsNamedArray()’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:2568:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 2568 | for (int i = 0; i < num_dep; i++) { | ~~^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp: In member function ‘ls::DoubleMatrix rr::RoadRunner::getIndependentFloatingSpeciesConcentrationsNamedArray()’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:2584:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 2584 | for (int i = 0; i < num_ind; i++) { | ~~^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp: In member function ‘ls::DoubleMatrix rr::RoadRunner::getDependentFloatingSpeciesConcentrationsNamedArray()’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:2600:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 2600 | for (int i = 0; i < num_dep; i++) { | ~~^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp: In member function ‘std::vector rr::RoadRunner::getIndependentRatesOfChange()’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:2686:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 2686 | for (int i = 0; i < nindep; ++i) { | ~~^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp: In member function ‘std::vector rr::RoadRunner::getDependentRatesOfChange()’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:2722:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 2722 | for (int i = 0; i < ndep; ++i) { | ~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp: In member function ‘ls::DoubleMatrix rr::RoadRunner::getFullJacobian()’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:2938:30: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 2938 | for (int i= 0; i < jac.RSize(); i++) { | ~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:2943:39: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 2943 | for (int j = 0; j < jac.CSize(); j++) { | ~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:2935:17: warning: unused variable ‘jacCols’ [-Wunused-variable] 2935 | int jacCols = jac.CSize(); | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp: In member function ‘ls::DoubleMatrix rr::RoadRunner::getConservationMatrix()’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:3185:43: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 3185 | for (int row = 0; row < mat.RSize(); row++) { | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:3186:47: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 3186 | for (int col = 0; col < mat.CSize(); col++) { | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp: In member function ‘size_t rr::RoadRunner::createDefaultSteadyStateSelectionList()’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:3269:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 3269 | for (int i = 0; i < numFloatingSpecies; i++) { | ~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp: In member function ‘std::vector rr::RoadRunner::getSteadyStateValues()’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:3294:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3294 | for (int i = 0; i < impl->mSteadyStateSelection.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp: In member function ‘std::vector > rr::RoadRunner::getSteadyStateSelectionStrings() const’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:3303:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3303 | for (int i = 0; i < impl->mSteadyStateSelection.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp: In member function ‘ls::DoubleMatrix rr::RoadRunner::getSteadyStateValuesNamedArray()’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:3321:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3321 | for (int i = 0; i < impl->mSteadyStateSelection.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp: In member function ‘ls::DoubleMatrix rr::RoadRunner::getBoundarySpeciesConcentrationsNamedArray()’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:3557:24: warning: unused variable ‘ls’ [-Wunused-variable] 3557 | LibStructural *ls = getLibStruct(); | ^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp: In member function ‘ls::DoubleMatrix rr::RoadRunner::getBoundarySpeciesAmountsNamedArray()’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:3579:24: warning: unused variable ‘ls’ [-Wunused-variable] 3579 | LibStructural *ls = getLibStruct(); | ^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp: In member function ‘double rr::RoadRunner::getGlobalParameterByIndex(const int&)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:3820:21: warning: unused variable ‘arraySize’ [-Wunused-variable] 3820 | int arraySize = impl->model->getNumGlobalParameters(); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp: In member function ‘double rr::RoadRunner::getUnscaledSpeciesElasticity(int, int)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:4118:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 4118 | for (int i = 0; i < currentVals.size() - 1; i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp: In member function ‘ls::DoubleMatrix rr::RoadRunner::getScaledElasticityMatrix()’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:4272:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 4272 | for (int i = 0; i < uelast.RSize(); i++) { | ~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:4273:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 4273 | for (int j = 0; j < uelast.CSize(); j++) // Columns are species | ~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp: In member function ‘ls::DoubleMatrix rr::RoadRunner::getUnscaledConcentrationControlCoefficientMatrix()’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:165:36: warning: unused variable ‘self’ [-Wunused-variable] 165 | #define get_self() RoadRunnerImpl& self = *(this->impl); | ^~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:4315:9: note: in expansion of macro ‘get_self’ 4315 | get_self(); | ^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp: In member function ‘ls::DoubleMatrix rr::RoadRunner::getScaledConcentrationControlCoefficientMatrix()’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:4363:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 4363 | for (int i = 0; i < ucc.RSize(); i++) { | ~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:4364:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 4364 | for (int j = 0; j < ucc.CSize(); j++) { | ~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp: In member function ‘ls::DoubleMatrix rr::RoadRunner::getUnscaledFluxControlCoefficientMatrix()’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:4390:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 4390 | for (int i = 0; i < T1.RSize(); i++) { | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:165:36: warning: unused variable ‘self’ [-Wunused-variable] 165 | #define get_self() RoadRunnerImpl& self = *(this->impl); | ^~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:4380:9: note: in expansion of macro ‘get_self’ 4380 | get_self(); | ^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp: In member function ‘ls::DoubleMatrix rr::RoadRunner::getScaledFluxControlCoefficientMatrix()’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:4410:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 4410 | for (int i = 0; i < ufcc.RSize(); i++) { | ~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:4419:39: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 4419 | for (int j = 0; j < ufcc.CSize(); j++) { | ~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp: In member function ‘std::string rr::RoadRunner::getSBML(int, int)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:4496:47: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 4496 | if (level > 0 && version > 0 && level != impl->document->getLevel() && version != impl->document->getVersion()) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:4496:88: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 4496 | if (level > 0 && version > 0 && level != impl->document->getLevel() && version != impl->document->getVersion()) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp: In member function ‘SBMLDocument* rr::RoadRunner::getCurrentSBMLDocument(int, int)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:4526:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 4526 | for (int i = 0; i < array.size(); i++) { | ~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:4541:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 4541 | for (int i = 0; i < array.size(); i++) { | ~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:4556:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 4556 | for (int i = 0; i < array.size(); i++) { | ~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:4562:30: warning: catching polymorphic type ‘class std::exception’ by value [-Wcatch-value=] 4562 | catch(std::exception e) { | ^ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:4598:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 4598 | if (level > 0 && version > 0 && level != doc->getLevel() && version != doc->getVersion()) { | ~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:4598:75: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 4598 | if (level > 0 && version > 0 && level != doc->getLevel() && version != doc->getVersion()) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp: In member function ‘void rr::RoadRunner::updateStoichiometriesWith(SBMLDocument*, rr::ExecutableModel*, std::vector >)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:4614:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 4614 | for (int nr = 0; nr < rxnids.size(); nr++) { | ~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp: In member function ‘std::vector rr::RoadRunner::getSelectedValues()’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:4755:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 4755 | for (int i = 0; i < impl->mSelectionList.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp: In member function ‘void rr::RoadRunner::setSelections(const std::vector >&)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:4991:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 4991 | for (int i = 0; i < _selList.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:5002:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 5002 | for (int i = 0; i < selstr.size(); ++i) { | ~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp: In member function ‘void rr::RoadRunner::setSteadyStateSelections(const std::vector >&)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:5015:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 5015 | for (int i = 0; i < ss.size(); ++i) { | ~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:5057:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 5057 | for (int j = 0; j < reactionNames.size(); j++) { | ~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:5074:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 5074 | for (int i = 0; i < Id.RSize(); i++) { | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:5098:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 5098 | for (int j = 0; j < reactionNames.size(); j++) { | ~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:5108:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 5108 | for (int j = 0; j < speciesNames.size(); j++) { | ~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp: In member function ‘void rr::RoadRunner::loadStateS(std::stringstream*)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:5767:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 5767 | for (int i = 0; i < loadOptSize; i++) { | ~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:5821:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] 5821 | for (int i = 0; i < integratorNumParams; i++) { | ~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:5835:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] 5835 | for (int i = 0; i < solverNumParams; i++) { | ~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:5849:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] 5849 | for (int i = 0; i < sensSolverNumParams; i++) { | ~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp: In member function ‘void rr::RoadRunner::loadSelectionVector(std::istream&, std::vector&)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:5873:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 5873 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp: In member function ‘ls::DoubleMatrix rr::RoadRunner::getSubStoichiometryMatrix(bool, bool, bool)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:5915:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 5915 | for (int k = 0; k < r->getNumReactants(); ++k) { | ~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:5933:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 5933 | for (int k = 0; k < r->getNumProducts(); ++k) { | ~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:165:36: warning: unused variable ‘self’ [-Wunused-variable] 165 | #define get_self() RoadRunnerImpl& self = *(this->impl); | ^~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:5886:9: note: in expansion of macro ‘get_self’ 5886 | get_self(); | ^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp: In member function ‘void rr::RoadRunner::removeSpecies(const std::string&, bool)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:6096:28: warning: comparison of integer expressions of different signedness: ‘uint’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 6096 | for (uint i = 0; i < numReaction; i++) { | ~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:6304:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 6304 | for (int i = 0; i < reactants.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:6323:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 6323 | for (int i = 0; i < products.size(); i++) { | ~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp: In member function ‘bool rr::RoadRunner::isParameterUsed(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:6412:28: warning: comparison of integer expressions of different signedness: ‘uint’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 6412 | for (uint i = 0; i < num; i++) { | ~~^~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp: In member function ‘void rr::RoadRunner::regenerateModel(bool, bool)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:7171:33: warning: unused variable ‘tolType’ [-Wunused-variable] 7171 | Setting::TypeId tolType = absTol.type(); | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:7189:22: warning: unused variable ‘v1’ [-Wunused-variable] 7189 | if (auto v1 = absTol.get_if>()) { | ^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp: In member function ‘void rr::RoadRunner::removeVariable(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:7232:28: warning: comparison of integer expressions of different signedness: ‘uint’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 7232 | for (uint i = 0; i < num; i++) { | ~~^~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:7296:28: warning: comparison of integer expressions of different signedness: ‘uint’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 7296 | for (uint i = 0; i < num; i++) { | ~~^~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:7309:28: warning: comparison of integer expressions of different signedness: ‘uint’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 7309 | for (uint i = 0; i < num; i++) { | ~~^~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:7321:28: warning: comparison of integer expressions of different signedness: ‘uint’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 7321 | for (uint i = 0; i < num; i++) { | ~~^~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:7341:28: warning: comparison of integer expressions of different signedness: ‘uint’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 7341 | for (uint i = 0; i < num; i++) { | ~~^~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:7354:28: warning: comparison of integer expressions of different signedness: ‘uint’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 7354 | for (uint i = 0; i < num; i++) { | ~~^~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:7389:32: warning: comparison of integer expressions of different signedness: ‘uint’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 7389 | for (uint j = 0; j < numAssign; j++) { | ~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp: In member function ‘bool rr::RoadRunner::hasVariable(const ASTNode*, const std::string&)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:7418:21: warning: unused variable ‘temp’ [-Wunused-variable] 7418 | const char *temp = node->getName(); | ^~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp: In member function ‘void rr::RoadRunner::getSpeciesIdsFromAST(const ASTNode*, std::vector >&)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:7434:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 7434 | for (int i = 0; i < sbmlSpecies->size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp: In function ‘void rr::writeDoubleVectorListToStream(std::ostream&, const DoubleVectorList&)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:7502:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 7502 | for (int i = 1; i < row.size(); i++) { | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp: In function ‘void rr::writeDoubleMatrixToStream(std::ostream&, const ls::DoubleMatrix&, int)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:7515:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 7515 | for (int col = 1; col < results.numCols(); col++) { | ~~~~^~~~~~~~~~~~~~~~~~~ In file included from /usr/lib64/llvm13/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm13/include/llvm/PassSupport.h:29, from /usr/lib64/llvm13/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:25, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/ForwardSensitivitySolver.h:13: /usr/lib64/llvm13/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/llvm13/include/llvm/Transforms/InstCombine/InstCombineWorklist.h:120:22: required from here 120 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm13/include/llvm/ADT/DenseMap.h:128:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 128 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:30: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:5776:23: required from here 5776 | rr::loadBinary(*in, colNames); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/Dictionary.h:11, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/SteadyStateSolver.h:19, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/SteadyStateSolverDecorator.h:8, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/ApproxSteadyStateDecorator.h:8, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:7: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:2752:112: required from here 2752 | std::int32_t savedJacobianMode = Config::getValue(Config::ROADRUNNER_JACOBIAN_MODE).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:2752:112: required from here 2752 | std::int32_t savedJacobianMode = Config::getValue(Config::ROADRUNNER_JACOBIAN_MODE).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:2752:112: required from here 2752 | std::int32_t savedJacobianMode = Config::getValue(Config::ROADRUNNER_JACOBIAN_MODE).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:2752:112: required from here 2752 | std::int32_t savedJacobianMode = Config::getValue(Config::ROADRUNNER_JACOBIAN_MODE).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:2752:112: required from here 2752 | std::int32_t savedJacobianMode = Config::getValue(Config::ROADRUNNER_JACOBIAN_MODE).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:2752:112: required from here 2752 | std::int32_t savedJacobianMode = Config::getValue(Config::ROADRUNNER_JACOBIAN_MODE).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:2752:112: required from here 2752 | std::int32_t savedJacobianMode = Config::getValue(Config::ROADRUNNER_JACOBIAN_MODE).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:2752:112: required from here 2752 | std::int32_t savedJacobianMode = Config::getValue(Config::ROADRUNNER_JACOBIAN_MODE).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:2752:112: required from here 2752 | std::int32_t savedJacobianMode = Config::getValue(Config::ROADRUNNER_JACOBIAN_MODE).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:7481:71: required from here 7481 | return integrator->getValue("seed").getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:7481:71: required from here 7481 | return integrator->getValue("seed").getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:7481:71: required from here 7481 | return integrator->getValue("seed").getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:7481:71: required from here 7481 | return integrator->getValue("seed").getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:7481:71: required from here 7481 | return integrator->getValue("seed").getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:7481:71: required from here 7481 | return integrator->getValue("seed").getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:7481:71: required from here 7481 | return integrator->getValue("seed").getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:7481:71: required from here 7481 | return integrator->getValue("seed").getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:7481:71: required from here 7481 | return integrator->getValue("seed").getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:1016:37: required from here 1016 | return impl->loadOpt.getItem("tempDir"); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:1600:45: required from here 1600 | if (getSteadyStateSolver()->getValue("auto_moiety_analysis")) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:1600:45: required from here 1600 | if (getSteadyStateSolver()->getValue("auto_moiety_analysis")) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:1600:45: required from here 1600 | if (getSteadyStateSolver()->getValue("auto_moiety_analysis")) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:1600:45: required from here 1600 | if (getSteadyStateSolver()->getValue("auto_moiety_analysis")) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:1600:45: required from here 1600 | if (getSteadyStateSolver()->getValue("auto_moiety_analysis")) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:1600:45: required from here 1600 | if (getSteadyStateSolver()->getValue("auto_moiety_analysis")) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:1600:45: required from here 1600 | if (getSteadyStateSolver()->getValue("auto_moiety_analysis")) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:1600:45: required from here 1600 | if (getSteadyStateSolver()->getValue("auto_moiety_analysis")) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:1600:45: required from here 1600 | if (getSteadyStateSolver()->getValue("auto_moiety_analysis")) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h: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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:38: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions 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.9.2-build/libroadrunner-2.9.2/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp: At global scope: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:4468:24: warning: ‘std::string rr::convertSBMLVersion(const std::string&, int, int)’ defined but not used [-Wunused-function] 4468 | static std::string convertSBMLVersion(const std::string &str, int level, int version) { | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.cpp:3424:17: warning: ‘void rr::setSpeciesAmount(Model*, const std::string&, double)’ defined but not used [-Wunused-function] 3424 | static void setSpeciesAmount(::Model *model, const std::string &id, double value) { | ^~~~~~~~~~~~~~~~ [124/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/Solver.cpp [125/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrSBMLModelSimulation.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrSBMLModelSimulation.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Matrix3D.h:8, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/SensitivitySolver.h:9, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/ForwardSensitivitySolver.h:10, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.h:26, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrSBMLModelSimulation.cpp:9: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Matrix.h:39:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Matrix.h:39:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Matrix.h:45:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 45 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Matrix.h:45:32: note: remove the ‘< >’ In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrSBMLModelSimulation.cpp:6: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrSBMLModelSimulation.h: In constructor ‘rr::SBMLModelSimulation::SBMLModelSimulation(std::filesystem::__cxx11::path, std::filesystem::__cxx11::path)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrSBMLModelSimulation.h:25:38: warning: ‘rr::SBMLModelSimulation::mModelFilePath’ will be initialized after [-Wreorder] 25 | std::filesystem::path mModelFilePath; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrSBMLModelSimulation.h:24:38: warning: ‘std::string rr::SBMLModelSimulation::mModelFileName’ [-Wreorder] 24 | std::string mModelFileName; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrSBMLModelSimulation.h:32:38: warning: ‘rr::SBMLModelSimulation::mCompileIfDllExists’ will be initialized after [-Wreorder] 32 | bool mCompileIfDllExists; | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrSBMLModelSimulation.h:29:38: warning: ‘std::filesystem::__cxx11::path rr::SBMLModelSimulation::mTempDataFolder’ [-Wreorder] 29 | std::filesystem::path mTempDataFolder; | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrSBMLModelSimulation.cpp: In member function ‘void rr::SBMLModelSimulation::loadSBMLTolerances(const std::filesystem::__cxx11::path&)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrSBMLModelSimulation.h:7: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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/llvm13/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm13/include/llvm/PassSupport.h:29, from /usr/lib64/llvm13/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:25, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/ForwardSensitivitySolver.h:13: /usr/lib64/llvm13/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/llvm13/include/llvm/Transforms/InstCombine/InstCombineWorklist.h:120:22: required from here 120 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm13/include/llvm/ADT/DenseMap.h:128:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 128 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:38: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions 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.9.2-build/libroadrunner-2.9.2/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [126/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/Setting.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.cpp: In member function ‘std::string rr::Setting::toString()’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/Setting.cpp:9: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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++) { | ~~^~~~~~~ [127/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/RegistrationFactory.cpp [128/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/SteadyStateSolverFactory.cpp In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/KinsolSteadyStateSolver.h:14, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/NewtonIteration.h:8, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/BasicNewtonIteration.h:8, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/SteadyStateSolverFactory.cpp:7: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/KinsolErrHandler.h:48:1: warning: multi-line comment [-Wcomment] 48 | //#define handleKinsolError(errCode) \ | ^ [129/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/SteadyStateSolver.cpp In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/KinsolSteadyStateSolver.h:14, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/NewtonIteration.h:8, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/BasicNewtonIteration.h:8, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/SteadyStateSolver.cpp:20: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/KinsolErrHandler.h:48:1: warning: multi-line comment [-Wcomment] 48 | //#define handleKinsolError(errCode) \ | ^ In file included from /usr/lib64/llvm13/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm13/include/llvm/PassSupport.h:29, from /usr/lib64/llvm13/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:25, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/NLEQSolver.h:10, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/NLEQ1Solver.h:18, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/SteadyStateSolver.cpp:18: /usr/lib64/llvm13/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/llvm13/include/llvm/Transforms/InstCombine/InstCombineWorklist.h:120:22: required from here 120 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm13/include/llvm/ADT/DenseMap.h:128:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 128 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Dictionary.h:11, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/SteadyStateSolver.h:19, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/SteadyStateSolver.cpp:14: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/SteadyStateSolver.cpp:65:76: required from here 65 | addSetting("presimulation_maximum_steps", Setting((double) getValue("presimulation_time") * 100), | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/SteadyStateSolver.cpp:65:76: required from here 65 | addSetting("presimulation_maximum_steps", Setting((double) getValue("presimulation_time") * 100), | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/SteadyStateSolver.cpp:65:76: required from here 65 | addSetting("presimulation_maximum_steps", Setting((double) getValue("presimulation_time") * 100), | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/SteadyStateSolver.cpp:65:76: required from here 65 | addSetting("presimulation_maximum_steps", Setting((double) getValue("presimulation_time") * 100), | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/SteadyStateSolver.cpp:65:76: required from here 65 | addSetting("presimulation_maximum_steps", Setting((double) getValue("presimulation_time") * 100), | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/SteadyStateSolver.cpp:65:76: required from here 65 | addSetting("presimulation_maximum_steps", Setting((double) getValue("presimulation_time") * 100), | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/SteadyStateSolver.cpp:65:76: required from here 65 | addSetting("presimulation_maximum_steps", Setting((double) getValue("presimulation_time") * 100), | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/SteadyStateSolver.cpp:65:76: required from here 65 | addSetting("presimulation_maximum_steps", Setting((double) getValue("presimulation_time") * 100), | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/SteadyStateSolver.cpp:65:76: required from here 65 | addSetting("presimulation_maximum_steps", Setting((double) getValue("presimulation_time") * 100), | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h: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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:38: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions 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.9.2-build/libroadrunner-2.9.2/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [130/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/SensitivitySolverFactory.cpp In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Matrix3D.h:8, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/SensitivitySolver.h:9, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/ForwardSensitivitySolver.h:10, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/SensitivitySolverFactory.h:9, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/SensitivitySolverFactory.cpp:2: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Matrix.h:39:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Matrix.h:39:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Matrix.h:45:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 45 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Matrix.h:45:32: note: remove the ‘< >’ In file included from /usr/lib64/llvm13/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm13/include/llvm/PassSupport.h:29, from /usr/lib64/llvm13/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:25, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/ForwardSensitivitySolver.h:13: /usr/lib64/llvm13/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/llvm13/include/llvm/Transforms/InstCombine/InstCombineWorklist.h:120:22: required from here 120 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm13/include/llvm/ADT/DenseMap.h:128:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 128 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:38: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions 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.9.2-build/libroadrunner-2.9.2/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [131/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/FixedPointIteration.cpp In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/KinsolSteadyStateSolver.h:14, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/FixedPointIteration.h:8, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/FixedPointIteration.cpp:5: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/KinsolErrHandler.h:48:1: warning: multi-line comment [-Wcomment] 48 | //#define handleKinsolError(errCode) \ | ^ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/FixedPointIteration.cpp: In member function ‘virtual void rr::FixedPointIteration::createKinsol()’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/Dictionary.h:11, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/SteadyStateSolver.h:19, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/KinsolSteadyStateSolver.h:11: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/FixedPointIteration.cpp:48:57: required from here 48 | KINSetDampingAA(mKinsol_Memory, (double)getValue("damping_aa")); | ~~~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/FixedPointIteration.cpp:48:57: required from here 48 | KINSetDampingAA(mKinsol_Memory, (double)getValue("damping_aa")); | ~~~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/FixedPointIteration.cpp:48:57: required from here 48 | KINSetDampingAA(mKinsol_Memory, (double)getValue("damping_aa")); | ~~~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/FixedPointIteration.cpp:48:57: required from here 48 | KINSetDampingAA(mKinsol_Memory, (double)getValue("damping_aa")); | ~~~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/FixedPointIteration.cpp:48:57: required from here 48 | KINSetDampingAA(mKinsol_Memory, (double)getValue("damping_aa")); | ~~~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/FixedPointIteration.cpp:48:57: required from here 48 | KINSetDampingAA(mKinsol_Memory, (double)getValue("damping_aa")); | ~~~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/FixedPointIteration.cpp:48:57: required from here 48 | KINSetDampingAA(mKinsol_Memory, (double)getValue("damping_aa")); | ~~~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/FixedPointIteration.cpp:48:57: required from here 48 | KINSetDampingAA(mKinsol_Memory, (double)getValue("damping_aa")); | ~~~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/FixedPointIteration.cpp:48:57: required from here 48 | KINSetDampingAA(mKinsol_Memory, (double)getValue("damping_aa")); | ~~~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/FixedPointIteration.cpp:49:49: required from here 49 | KINSetMAA(mKinsol_Memory, (long)getValue("maa")); | ~~~~~~~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/FixedPointIteration.cpp:49:49: required from here 49 | KINSetMAA(mKinsol_Memory, (long)getValue("maa")); | ~~~~~~~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/FixedPointIteration.cpp:49:49: required from here 49 | KINSetMAA(mKinsol_Memory, (long)getValue("maa")); | ~~~~~~~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/FixedPointIteration.cpp:49:49: required from here 49 | KINSetMAA(mKinsol_Memory, (long)getValue("maa")); | ~~~~~~~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/FixedPointIteration.cpp:49:49: required from here 49 | KINSetMAA(mKinsol_Memory, (long)getValue("maa")); | ~~~~~~~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/FixedPointIteration.cpp:49:49: required from here 49 | KINSetMAA(mKinsol_Memory, (long)getValue("maa")); | ~~~~~~~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/FixedPointIteration.cpp:49:49: required from here 49 | KINSetMAA(mKinsol_Memory, (long)getValue("maa")); | ~~~~~~~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/FixedPointIteration.cpp:49:49: required from here 49 | KINSetMAA(mKinsol_Memory, (long)getValue("maa")); | ~~~~~~~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/FixedPointIteration.cpp:49:49: required from here 49 | KINSetMAA(mKinsol_Memory, (long)getValue("maa")); | ~~~~~~~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [132/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/ForwardSensitivitySolver.cpp In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Matrix3D.h:8, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/SensitivitySolver.h:9, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/ForwardSensitivitySolver.h:10, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/ForwardSensitivitySolver.cpp:5: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Matrix.h:39:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Matrix.h:39:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Matrix.h:45:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 45 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Matrix.h:45:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/ForwardSensitivitySolver.cpp: In member function ‘void rr::ForwardSensitivitySolver::deducePlist()’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/ForwardSensitivitySolver.cpp:555:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 555 | for (int i = 0; i < whichParameters.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/ForwardSensitivitySolver.cpp: In member function ‘virtual rr::Matrix rr::ForwardSensitivitySolver::getSensitivityMatrix(int)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/ForwardSensitivitySolver.cpp:582:14: warning: unused variable ‘print’ [-Wunused-variable] 582 | auto print = stateVector->ops->nvprint; | ^~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/ForwardSensitivitySolver.cpp:584:14: warning: unused variable ‘len’ [-Wunused-variable] 584 | auto len = stateVector->ops->nvgetlength; | ^~~ In file included from /usr/lib64/llvm13/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm13/include/llvm/PassSupport.h:29, from /usr/lib64/llvm13/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:25, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/ForwardSensitivitySolver.h:13: /usr/lib64/llvm13/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/llvm13/include/llvm/Transforms/InstCombine/InstCombineWorklist.h:120:22: required from here 120 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm13/include/llvm/ADT/DenseMap.h:128:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 128 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Matrix3D.h: In instantiation of ‘void rr::Matrix3D::setKthMatrix(int, IndexType, rr::Matrix) [with IndexType = double; DataType = double]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/ForwardSensitivitySolver.cpp:687:29: required from here 687 | results.setKthMatrix(0, t, getSensitivityMatrix(k)); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/Matrix.h: In instantiation of ‘void rr::Matrix::deleteCol(int) [with T = double]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Matrix.h:410:22: required from ‘void rr::Matrix::deleteCol(const std::string&) [with T = double; std::string = std::__cxx11::basic_string]’ 410 | deleteCol(idx); | ~~~~~~~~~^~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/ForwardSensitivitySolver.cpp:713:38: required from here 713 | results.deleteCol(s); | ~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Matrix.h:365:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 365 | if (which > numCols() - 1) { | ~~~~~~^~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Dictionary.h:11, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Integrator.h:19, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.h:17, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/ForwardSensitivitySolver.h:9: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/ForwardSensitivitySolver.cpp:238:28: required from here 238 | if ((bool) getValue("stiff")) { | ~~~~~~~~^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/ForwardSensitivitySolver.cpp:238:28: required from here 238 | if ((bool) getValue("stiff")) { | ~~~~~~~~^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/ForwardSensitivitySolver.cpp:238:28: required from here 238 | if ((bool) getValue("stiff")) { | ~~~~~~~~^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/ForwardSensitivitySolver.cpp:238:28: required from here 238 | if ((bool) getValue("stiff")) { | ~~~~~~~~^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/ForwardSensitivitySolver.cpp:238:28: required from here 238 | if ((bool) getValue("stiff")) { | ~~~~~~~~^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/ForwardSensitivitySolver.cpp:238:28: required from here 238 | if ((bool) getValue("stiff")) { | ~~~~~~~~^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/ForwardSensitivitySolver.cpp:238:28: required from here 238 | if ((bool) getValue("stiff")) { | ~~~~~~~~^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/ForwardSensitivitySolver.cpp:238:28: required from here 238 | if ((bool) getValue("stiff")) { | ~~~~~~~~^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/ForwardSensitivitySolver.cpp:238:28: required from here 238 | if ((bool) getValue("stiff")) { | ~~~~~~~~^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.h:325:37: required from ‘std::string rr::decodeSundialsError(SundialsType*, int, bool) [with SundialsType = ForwardSensitivitySolver; std::string = std::__cxx11::basic_string]’ 325 | ss << (int) solver->getValue("maximum_num_steps"); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/ForwardSensitivitySolver.cpp:80:98: required from here 80 | rrLog(Logger::LOG_ERROR) << "ForwardSensitivitySolver Error: " << decodeSundialsError(i, error_code, false) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.h:325:37: required from ‘std::string rr::decodeSundialsError(SundialsType*, int, bool) [with SundialsType = ForwardSensitivitySolver; std::string = std::__cxx11::basic_string]’ 325 | ss << (int) solver->getValue("maximum_num_steps"); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/ForwardSensitivitySolver.cpp:80:98: required from here 80 | rrLog(Logger::LOG_ERROR) << "ForwardSensitivitySolver Error: " << decodeSundialsError(i, error_code, false) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.h:325:37: required from ‘std::string rr::decodeSundialsError(SundialsType*, int, bool) [with SundialsType = ForwardSensitivitySolver; std::string = std::__cxx11::basic_string]’ 325 | ss << (int) solver->getValue("maximum_num_steps"); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/ForwardSensitivitySolver.cpp:80:98: required from here 80 | rrLog(Logger::LOG_ERROR) << "ForwardSensitivitySolver Error: " << decodeSundialsError(i, error_code, false) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.h:325:37: required from ‘std::string rr::decodeSundialsError(SundialsType*, int, bool) [with SundialsType = ForwardSensitivitySolver; std::string = std::__cxx11::basic_string]’ 325 | ss << (int) solver->getValue("maximum_num_steps"); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/ForwardSensitivitySolver.cpp:80:98: required from here 80 | rrLog(Logger::LOG_ERROR) << "ForwardSensitivitySolver Error: " << decodeSundialsError(i, error_code, false) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.h:325:37: required from ‘std::string rr::decodeSundialsError(SundialsType*, int, bool) [with SundialsType = ForwardSensitivitySolver; std::string = std::__cxx11::basic_string]’ 325 | ss << (int) solver->getValue("maximum_num_steps"); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/ForwardSensitivitySolver.cpp:80:98: required from here 80 | rrLog(Logger::LOG_ERROR) << "ForwardSensitivitySolver Error: " << decodeSundialsError(i, error_code, false) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.h:325:37: required from ‘std::string rr::decodeSundialsError(SundialsType*, int, bool) [with SundialsType = ForwardSensitivitySolver; std::string = std::__cxx11::basic_string]’ 325 | ss << (int) solver->getValue("maximum_num_steps"); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/ForwardSensitivitySolver.cpp:80:98: required from here 80 | rrLog(Logger::LOG_ERROR) << "ForwardSensitivitySolver Error: " << decodeSundialsError(i, error_code, false) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.h:325:37: required from ‘std::string rr::decodeSundialsError(SundialsType*, int, bool) [with SundialsType = ForwardSensitivitySolver; std::string = std::__cxx11::basic_string]’ 325 | ss << (int) solver->getValue("maximum_num_steps"); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/ForwardSensitivitySolver.cpp:80:98: required from here 80 | rrLog(Logger::LOG_ERROR) << "ForwardSensitivitySolver Error: " << decodeSundialsError(i, error_code, false) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.h:325:37: required from ‘std::string rr::decodeSundialsError(SundialsType*, int, bool) [with SundialsType = ForwardSensitivitySolver; std::string = std::__cxx11::basic_string]’ 325 | ss << (int) solver->getValue("maximum_num_steps"); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/ForwardSensitivitySolver.cpp:80:98: required from here 80 | rrLog(Logger::LOG_ERROR) << "ForwardSensitivitySolver Error: " << decodeSundialsError(i, error_code, false) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.h:325:37: required from ‘std::string rr::decodeSundialsError(SundialsType*, int, bool) [with SundialsType = ForwardSensitivitySolver; std::string = std::__cxx11::basic_string]’ 325 | ss << (int) solver->getValue("maximum_num_steps"); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/ForwardSensitivitySolver.cpp:80:98: required from here 80 | rrLog(Logger::LOG_ERROR) << "ForwardSensitivitySolver Error: " << decodeSundialsError(i, error_code, false) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h: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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:38: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions 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.9.2-build/libroadrunner-2.9.2/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/ForwardSensitivitySolver.cpp: In member function ‘rr::ForwardSensitivitySolver::create()’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/ForwardSensitivitySolver.cpp:357:38: warning: ‘sensi_meth’ may be used uninitialized [-Wmaybe-uninitialized] 357 | if ((err = CVodeSensInit1(cvodeIntegrator->mCVODE_Memory, Ns, sensi_meth, NULL, mSensitivityMatrix))) { | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/ForwardSensitivitySolver.cpp:350:17: note: ‘sensi_meth’ was declared here 350 | int sensi_meth; | ^~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/ForwardSensitivitySolver.cpp:376:44: warning: ‘dq_method’ may be used uninitialized [-Wmaybe-uninitialized] 376 | if ((err = CVodeSetSensDQMethod(cvodeIntegrator->mCVODE_Memory, dq_method, 1))) { | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/ForwardSensitivitySolver.cpp:369:17: note: ‘dq_method’ was declared here 369 | int dq_method; | ^~~~~~~~~ [133/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/IntegratorFactory.cpp In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Matrix3D.h:8, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/SensitivitySolver.h:9, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/ForwardSensitivitySolver.h:10, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.h:26, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/IntegratorFactory.cpp:6: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Matrix.h:39:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Matrix.h:39:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Matrix.h:45:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 45 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Matrix.h:45:32: note: remove the ‘< >’ In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/RegistrationFactory.h:12, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/IntegratorFactory.h:10, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/IntegratorFactory.cpp:5: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/IntegratorFactory.cpp:8: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/IntegratorFactory.cpp:9: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/RK45Integrator.h:125:25: note: by ‘virtual rr::Setting rr::RK45Integrator::getValue(std::string)’ 125 | virtual Setting getValue(std::string key); | ^~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/IntegratorFactory.cpp:10: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/EulerIntegrator.h: In member function ‘virtual double rr::EulerIntegrator::integrate(double, double)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/EulerIntegrator.h:151:37: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 151 | for (int k_ = 0; k_ < eventStatus.size(); ++k_) { | ~~~^~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib64/llvm13/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm13/include/llvm/PassSupport.h:29, from /usr/lib64/llvm13/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:25, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/ForwardSensitivitySolver.h:13: /usr/lib64/llvm13/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/llvm13/include/llvm/Transforms/InstCombine/InstCombineWorklist.h:120:22: required from here 120 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm13/include/llvm/ADT/DenseMap.h:128:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 128 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Dictionary.h:11, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Solver.h:20: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/EulerIntegrator.h:112:42: required from here 112 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/EulerIntegrator.h:112:42: required from here 112 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/EulerIntegrator.h:112:42: required from here 112 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/EulerIntegrator.h:112:42: required from here 112 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/EulerIntegrator.h:112:42: required from here 112 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/EulerIntegrator.h:112:42: required from here 112 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/EulerIntegrator.h:112:42: required from here 112 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/EulerIntegrator.h:112:42: required from here 112 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/EulerIntegrator.h:112:42: required from here 112 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h: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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:38: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions 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.9.2-build/libroadrunner-2.9.2/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [134/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/BasicNewtonIteration.cpp In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/KinsolSteadyStateSolver.h:14, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/NewtonIteration.h:8, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/BasicNewtonIteration.h:8, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/BasicNewtonIteration.cpp:5: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/KinsolErrHandler.h:48:1: warning: multi-line comment [-Wcomment] 48 | //#define handleKinsolError(errCode) \ | ^ [135/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/NewtonIteration.cpp In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/KinsolSteadyStateSolver.h:14, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/NewtonIteration.h:8, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/NewtonIteration.cpp:5: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/KinsolErrHandler.h:48:1: warning: multi-line comment [-Wcomment] 48 | //#define handleKinsolError(errCode) \ | ^ [136/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/LinesearchNewtonIteration.cpp In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/KinsolSteadyStateSolver.h:14, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/NewtonIteration.h:8, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/LinesearchNewtonIteration.h:8, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/LinesearchNewtonIteration.cpp:5: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/KinsolErrHandler.h:48:1: warning: multi-line comment [-Wcomment] 48 | //#define handleKinsolError(errCode) \ | ^ [137/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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/KinsolErrHandler.cpp.o -MF source/CMakeFiles/roadrunner.dir/KinsolErrHandler.cpp.o.d -o source/CMakeFiles/roadrunner.dir/KinsolErrHandler.cpp.o -c /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/KinsolErrHandler.cpp In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/KinsolErrHandler.cpp:5: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/KinsolErrHandler.h:48:1: warning: multi-line comment [-Wcomment] 48 | //#define handleKinsolError(errCode) \ | ^ [138/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/SVD.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/SVD.cpp: In member function ‘int rr::SVD::rank(double) const’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/Matrix.h:39:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Matrix.h:45:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 45 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Matrix.h:45:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/KinsolSteadyStateSolver.cpp: In member function ‘void rr::KinsolSteadyStateSolver::setFScale(const std::vector&)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/KinsolSteadyStateSolver.cpp:209:26: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 209 | if (value.size() != stateSize) { | ~~~~~~~~~~~~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/KinsolSteadyStateSolver.cpp: In member function ‘void rr::KinsolSteadyStateSolver::setUScale(std::vector)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/KinsolSteadyStateSolver.cpp:226:26: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 226 | if (value.size() != stateSize) { | ~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from /usr/lib64/llvm13/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm13/include/llvm/PassSupport.h:29, from /usr/lib64/llvm13/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:25, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/ForwardSensitivitySolver.h:13: /usr/lib64/llvm13/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/llvm13/include/llvm/Transforms/InstCombine/InstCombineWorklist.h:120:22: required from here 120 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm13/include/llvm/ADT/DenseMap.h:128:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 128 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Dictionary.h:11, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/SteadyStateSolver.h:19, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/KinsolSteadyStateSolver.h:11: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/KinsolSteadyStateSolver.cpp:82:28: required from here 82 | if (!(bool)getValue("allow_negative")) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/KinsolSteadyStateSolver.cpp:82:28: required from here 82 | if (!(bool)getValue("allow_negative")) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/KinsolSteadyStateSolver.cpp:82:28: required from here 82 | if (!(bool)getValue("allow_negative")) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/KinsolSteadyStateSolver.cpp:82:28: required from here 82 | if (!(bool)getValue("allow_negative")) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/KinsolSteadyStateSolver.cpp:82:28: required from here 82 | if (!(bool)getValue("allow_negative")) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/KinsolSteadyStateSolver.cpp:82:28: required from here 82 | if (!(bool)getValue("allow_negative")) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/KinsolSteadyStateSolver.cpp:82:28: required from here 82 | if (!(bool)getValue("allow_negative")) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/KinsolSteadyStateSolver.cpp:82:28: required from here 82 | if (!(bool)getValue("allow_negative")) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/KinsolSteadyStateSolver.cpp:82:28: required from here 82 | if (!(bool)getValue("allow_negative")) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/KinsolSteadyStateSolver.cpp:270:56: required from here 270 | KINSetNumMaxIters(mKinsol_Memory, (int)getValue("num_max_iters")); | ~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/KinsolSteadyStateSolver.cpp:270:56: required from here 270 | KINSetNumMaxIters(mKinsol_Memory, (int)getValue("num_max_iters")); | ~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/KinsolSteadyStateSolver.cpp:270:56: required from here 270 | KINSetNumMaxIters(mKinsol_Memory, (int)getValue("num_max_iters")); | ~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/KinsolSteadyStateSolver.cpp:270:56: required from here 270 | KINSetNumMaxIters(mKinsol_Memory, (int)getValue("num_max_iters")); | ~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/KinsolSteadyStateSolver.cpp:270:56: required from here 270 | KINSetNumMaxIters(mKinsol_Memory, (int)getValue("num_max_iters")); | ~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/KinsolSteadyStateSolver.cpp:270:56: required from here 270 | KINSetNumMaxIters(mKinsol_Memory, (int)getValue("num_max_iters")); | ~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/KinsolSteadyStateSolver.cpp:270:56: required from here 270 | KINSetNumMaxIters(mKinsol_Memory, (int)getValue("num_max_iters")); | ~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/KinsolSteadyStateSolver.cpp:270:56: required from here 270 | KINSetNumMaxIters(mKinsol_Memory, (int)getValue("num_max_iters")); | ~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/KinsolSteadyStateSolver.cpp:270:56: required from here 270 | KINSetNumMaxIters(mKinsol_Memory, (int)getValue("num_max_iters")); | ~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/KinsolSteadyStateSolver.cpp:276:61: required from here 276 | KINSetEtaConstValue(mKinsol_Memory, (double)getValue("eta_constant_value")); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/KinsolSteadyStateSolver.cpp:276:61: required from here 276 | KINSetEtaConstValue(mKinsol_Memory, (double)getValue("eta_constant_value")); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/KinsolSteadyStateSolver.cpp:276:61: required from here 276 | KINSetEtaConstValue(mKinsol_Memory, (double)getValue("eta_constant_value")); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/KinsolSteadyStateSolver.cpp:276:61: required from here 276 | KINSetEtaConstValue(mKinsol_Memory, (double)getValue("eta_constant_value")); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/KinsolSteadyStateSolver.cpp:276:61: required from here 276 | KINSetEtaConstValue(mKinsol_Memory, (double)getValue("eta_constant_value")); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/KinsolSteadyStateSolver.cpp:276:61: required from here 276 | KINSetEtaConstValue(mKinsol_Memory, (double)getValue("eta_constant_value")); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/KinsolSteadyStateSolver.cpp:276:61: required from here 276 | KINSetEtaConstValue(mKinsol_Memory, (double)getValue("eta_constant_value")); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/KinsolSteadyStateSolver.cpp:276:61: required from here 276 | KINSetEtaConstValue(mKinsol_Memory, (double)getValue("eta_constant_value")); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/KinsolSteadyStateSolver.cpp:276:61: required from here 276 | KINSetEtaConstValue(mKinsol_Memory, (double)getValue("eta_constant_value")); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h: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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:38: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions 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.9.2-build/libroadrunner-2.9.2/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [141/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/conservation/ConservationExtension.cpp [142/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/conservation/ConservationDocumentPlugin.cpp [143/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/PresimulationProgramDecorator.cpp In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Matrix3D.h:8, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/SensitivitySolver.h:9, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/ForwardSensitivitySolver.h:10, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.h:26, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/PresimulationProgramDecorator.cpp:7: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Matrix.h:39:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Matrix.h:39:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Matrix.h:45:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 45 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Matrix.h:45:32: note: remove the ‘< >’ In file included from /usr/lib64/llvm13/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm13/include/llvm/PassSupport.h:29, from /usr/lib64/llvm13/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:25, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/ForwardSensitivitySolver.h:13: /usr/lib64/llvm13/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/llvm13/include/llvm/Transforms/InstCombine/InstCombineWorklist.h:120:22: required from here 120 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm13/include/llvm/ADT/DenseMap.h:128:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 128 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:38: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions 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.9.2-build/libroadrunner-2.9.2/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [144/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/conservation/ConservedMoietyPlugin.cpp [145/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/PresimulationDecorator.cpp In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Matrix3D.h:8, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/SensitivitySolver.h:9, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/ForwardSensitivitySolver.h:10, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.h:26, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/PresimulationDecorator.cpp:7: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Matrix.h:39:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Matrix.h:39:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Matrix.h:45:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 45 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Matrix.h:45:32: note: remove the ‘< >’ In file included from /usr/lib64/llvm13/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm13/include/llvm/PassSupport.h:29, from /usr/lib64/llvm13/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:25, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/ForwardSensitivitySolver.h:13: /usr/lib64/llvm13/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/llvm13/include/llvm/Transforms/InstCombine/InstCombineWorklist.h:120:22: required from here 120 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm13/include/llvm/ADT/DenseMap.h:128:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 128 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Dictionary.h:11, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/SteadyStateSolver.h:19, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/SteadyStateSolverDecorator.h:8, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/PresimulationDecorator.h:8, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/PresimulationDecorator.cpp:5: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/PresimulationDecorator.cpp:30:62: required from here 30 | integrator.integrate(0, (double)solver_->getValue("presimulation_time")); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/PresimulationDecorator.cpp:30:62: required from here 30 | integrator.integrate(0, (double)solver_->getValue("presimulation_time")); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/PresimulationDecorator.cpp:30:62: required from here 30 | integrator.integrate(0, (double)solver_->getValue("presimulation_time")); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/PresimulationDecorator.cpp:30:62: required from here 30 | integrator.integrate(0, (double)solver_->getValue("presimulation_time")); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/PresimulationDecorator.cpp:30:62: required from here 30 | integrator.integrate(0, (double)solver_->getValue("presimulation_time")); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/PresimulationDecorator.cpp:30:62: required from here 30 | integrator.integrate(0, (double)solver_->getValue("presimulation_time")); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/PresimulationDecorator.cpp:30:62: required from here 30 | integrator.integrate(0, (double)solver_->getValue("presimulation_time")); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/PresimulationDecorator.cpp:30:62: required from here 30 | integrator.integrate(0, (double)solver_->getValue("presimulation_time")); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/PresimulationDecorator.cpp:30:62: required from here 30 | integrator.integrate(0, (double)solver_->getValue("presimulation_time")); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h: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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:38: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions 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.9.2-build/libroadrunner-2.9.2/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions 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/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/conservation/ConservedMoietyConverter.cpp In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/conservation/ConservedMoietyConverter.cpp:8: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/conservation/ConservedMoietyConverter.h: In constructor ‘rr::conservation::ConservedMoietyConverter::ConservedMoietyConverter()’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/conservation/ConservedMoietyConverter.h:168:14: warning: ‘rr::conservation::ConservedMoietyConverter::mModel’ will be initialized after [-Wreorder] 168 | ::Model *mModel; | ^~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/conservation/ConservedMoietyConverter.h:159:24: warning: ‘ls::LibStructural* rr::conservation::ConservedMoietyConverter::structural’ [-Wreorder] 159 | ls::LibStructural *structural; | ^~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/conservation/ConservedMoietyConverter.cpp:142:1: warning: when initialized here [-Wreorder] 142 | ConservedMoietyConverter::ConservedMoietyConverter() : | ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/conservation/ConservedMoietyConverter.h: In copy constructor ‘rr::conservation::ConservedMoietyConverter::ConservedMoietyConverter(const rr::conservation::ConservedMoietyConverter&)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/conservation/ConservedMoietyConverter.h:168:14: warning: ‘rr::conservation::ConservedMoietyConverter::mModel’ will be initialized after [-Wreorder] 168 | ::Model *mModel; | ^~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/conservation/ConservedMoietyConverter.h:159:24: warning: ‘ls::LibStructural* rr::conservation::ConservedMoietyConverter::structural’ [-Wreorder] 159 | ls::LibStructural *structural; | ^~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/conservation/ConservedMoietyConverter.cpp:151:1: warning: when initialized here [-Wreorder] 151 | ConservedMoietyConverter::ConservedMoietyConverter( | ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/conservation/ConservedMoietyConverter.cpp: In function ‘void rr::conservation::createReorderedSpecies(Model*, Model*, const std::vector >&, const std::vector >&)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/conservation/ConservedMoietyConverter.cpp:463:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 463 | for (int i = 0; i < indSpecies.size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/conservation/ConservedMoietyConverter.cpp:472:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 472 | for (int i = 0; i < depSpecies.size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/conservation/ConservedMoietyConverter.cpp:593:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 593 | for (int j = 0; j < indSpecies.size(); ++j) | ~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/conservation/ConservedMoietyConverter.cpp: In function ‘void rr::conservation::conservedMoietyCheck(const SBMLDocument*)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/conservation/ConservedMoietyConverter.cpp:757:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 757 | for(int i = 0; i < rules->size(); ++i) | ~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/conservation/ConservedMoietyConverter.cpp:787:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 787 | for(int i = 0; i < reactions->size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/conservation/ConservedMoietyConverter.cpp:793:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 793 | for (int i = 0; i < references->size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/conservation/ConservedMoietyConverter.cpp:820:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 820 | for(int i = 0; i < events->size(); ++i) | ~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/conservation/ConservedMoietyConverter.cpp:826:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 826 | for(int j = 0; j < assignments->size(); ++j) | ~~^~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/conservation/ConservedMoietyConverter.cpp:35: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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++) { | ~~^~~~~~~ [147/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/ApproxSteadyStateDecorator.cpp In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Matrix3D.h:8, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/SensitivitySolver.h:9, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/ForwardSensitivitySolver.h:10, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/CVODEIntegrator.h:26, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/ApproxSteadyStateDecorator.cpp:6: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Matrix.h:39:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Matrix.h:39:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Matrix.h:45:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 45 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Matrix.h:45:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/ApproxSteadyStateDecorator.cpp: In member function ‘virtual double rr::ApproxSteadyStateDecorator::solve()’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/ApproxSteadyStateDecorator.cpp:33:24: warning: unused variable ‘numVariables’ [-Wunused-variable] 33 | const int &numVariables = model->getStateVector(nullptr); | ^~~~~~~~~~~~ In file included from /usr/lib64/llvm13/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm13/include/llvm/PassSupport.h:29, from /usr/lib64/llvm13/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:25, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/ForwardSensitivitySolver.h:13: /usr/lib64/llvm13/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/llvm13/include/llvm/Transforms/InstCombine/InstCombineWorklist.h:120:22: required from here 120 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm13/include/llvm/ADT/DenseMap.h:128:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 128 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Dictionary.h:11, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/SteadyStateSolver.h:19, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/SteadyStateSolverDecorator.h:8, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/ApproxSteadyStateDecorator.h:8, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/ApproxSteadyStateDecorator.cpp:5: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/ApproxSteadyStateDecorator.cpp:24:49: required from here 24 | const double &end = (double)getValue("approx_time"); | ~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/ApproxSteadyStateDecorator.cpp:24:49: required from here 24 | const double &end = (double)getValue("approx_time"); | ~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/ApproxSteadyStateDecorator.cpp:24:49: required from here 24 | const double &end = (double)getValue("approx_time"); | ~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/ApproxSteadyStateDecorator.cpp:24:49: required from here 24 | const double &end = (double)getValue("approx_time"); | ~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/ApproxSteadyStateDecorator.cpp:24:49: required from here 24 | const double &end = (double)getValue("approx_time"); | ~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/ApproxSteadyStateDecorator.cpp:24:49: required from here 24 | const double &end = (double)getValue("approx_time"); | ~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/ApproxSteadyStateDecorator.cpp:24:49: required from here 24 | const double &end = (double)getValue("approx_time"); | ~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/ApproxSteadyStateDecorator.cpp:24:49: required from here 24 | const double &end = (double)getValue("approx_time"); | ~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/ApproxSteadyStateDecorator.cpp:24:49: required from here 24 | const double &end = (double)getValue("approx_time"); | ~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/ApproxSteadyStateDecorator.cpp:25:45: required from here 25 | const int &steps = (int)getValue("approx_maximum_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/ApproxSteadyStateDecorator.cpp:25:45: required from here 25 | const int &steps = (int)getValue("approx_maximum_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/ApproxSteadyStateDecorator.cpp:25:45: required from here 25 | const int &steps = (int)getValue("approx_maximum_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/ApproxSteadyStateDecorator.cpp:25:45: required from here 25 | const int &steps = (int)getValue("approx_maximum_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/ApproxSteadyStateDecorator.cpp:25:45: required from here 25 | const int &steps = (int)getValue("approx_maximum_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/ApproxSteadyStateDecorator.cpp:25:45: required from here 25 | const int &steps = (int)getValue("approx_maximum_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/ApproxSteadyStateDecorator.cpp:25:45: required from here 25 | const int &steps = (int)getValue("approx_maximum_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/ApproxSteadyStateDecorator.cpp:25:45: required from here 25 | const int &steps = (int)getValue("approx_maximum_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/ApproxSteadyStateDecorator.cpp:25:45: required from here 25 | const int &steps = (int)getValue("approx_maximum_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h: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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:38: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions 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.9.2-build/libroadrunner-2.9.2/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [148/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrRoadRunnerMap.cpp [149/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/ASTNodeFactory.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/ASTNodeFactory.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop [150/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/AssignmentRuleEvaluator.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/AssignmentRuleEvaluator.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop [151/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/CodeGenBase.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/CodeGenBase.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop In file included from /usr/lib64/llvm13/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm13/include/llvm/PassSupport.h:29, from /usr/lib64/llvm13/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/ModelGeneratorContext.h:14, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/CodeGenBase.h:11, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/CodeGenBase.cpp:8: /usr/lib64/llvm13/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/llvm13/include/llvm/Transforms/InstCombine/InstCombineWorklist.h:120:22: required from here 120 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm13/include/llvm/ADT/DenseMap.h:128:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 128 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ [152/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/EvalConversionFactorCodeGen.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/EvalConversionFactorCodeGen.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop In file included from /usr/lib64/llvm13/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm13/include/llvm/PassSupport.h:29, from /usr/lib64/llvm13/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/ModelGeneratorContext.h:14, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/CodeGenBase.h:11, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/EvalConversionFactorCodeGen.h:11, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/EvalConversionFactorCodeGen.cpp:8: /usr/lib64/llvm13/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/llvm13/include/llvm/Transforms/InstCombine/InstCombineWorklist.h:120:22: required from here 120 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm13/include/llvm/ADT/DenseMap.h:128:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 128 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/CodeGenBase.h: In instantiation of ‘rrllvm::CodeGenBase::CodeGenBase(const rrllvm::ModelGeneratorContext&) [with FunctionPtrType = void (*)(rrllvm::LLVMModelData*)]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/EvalConversionFactorCodeGen.cpp:31:65: required from here 31 | CodeGenBase(mgc) | ^ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/CodeGenBase.h:108:20: warning: ‘rrllvm::CodeGenBase::options’ will be initialized after [-Wreorder] 108 | const unsigned options; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/CodeGenBase.h:98:21: warning: ‘llvm::Function* rrllvm::CodeGenBase::function’ [-Wreorder] 98 | llvm::Function *function; | ^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/CodeGenBase.h:71:5: warning: when initialized here [-Wreorder] 71 | CodeGenBase(const ModelGeneratorContext &mgc) : | ^~~~~~~~~~~ [153/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/EvalInitialConditionsCodeGen.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/EvalInitialConditionsCodeGen.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/EvalInitialConditionsCodeGen.cpp: In member function ‘void rrllvm::EvalInitialConditionsCodeGen::codeGenStoichiometry(llvm::Value*, rrllvm::ModelDataStoreSymbolResolver&, rrllvm::LoadSymbolResolver&)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/EvalInitialConditionsCodeGen.cpp:181:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 181 | for (int i = 0; i < ids.size(); i++) | ~~^~~~~~~~~~~~ In file included from /usr/lib64/llvm13/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm13/include/llvm/PassSupport.h:29, from /usr/lib64/llvm13/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/ModelGeneratorContext.h:14, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/EvalInitialConditionsCodeGen.h:11, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/EvalInitialConditionsCodeGen.cpp:8: /usr/lib64/llvm13/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/llvm13/include/llvm/Transforms/InstCombine/InstCombineWorklist.h:120:22: required from here 120 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm13/include/llvm/ADT/DenseMap.h:128:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 128 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/EvalInitialConditionsCodeGen.h:12: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/EvalInitialConditionsCodeGen.cpp:35:59: required from here 35 | CodeGenBase(mgc) | ^ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/CodeGenBase.h:108:20: warning: ‘rrllvm::CodeGenBase::options’ will be initialized after [-Wreorder] 108 | const unsigned options; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/CodeGenBase.h:98:21: warning: ‘llvm::Function* rrllvm::CodeGenBase::function’ [-Wreorder] 98 | llvm::Function *function; | ^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/CodeGenBase.h:71:5: warning: when initialized here [-Wreorder] 71 | CodeGenBase(const ModelGeneratorContext &mgc) : | ^~~~~~~~~~~ [154/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/ASTNodeCodeGen.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/ASTNodeCodeGen.cpp:12: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 12 | #pragma hdrstop /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/ASTNodeCodeGen.cpp: In member function ‘llvm::Value* rrllvm::ASTNodeCodeGen::rateOfCodeGen(const ASTNode*)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/ASTNodeCodeGen.cpp: In member function ‘llvm::Value* rrllvm::ASTNodeCodeGen::applyScalarRelationalCodeGen(const ASTNode*)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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/llvm13/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm13/include/llvm/PassSupport.h:29, from /usr/lib64/llvm13/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/ASTNodeCodeGen.h:13, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/ASTNodeCodeGen.cpp:13: /usr/lib64/llvm13/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/llvm13/include/llvm/Transforms/InstCombine/InstCombineWorklist.h:120:22: required from here 120 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm13/include/llvm/ADT/DenseMap.h:128:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 128 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/ASTNodeCodeGen.cpp:18: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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++) { | ~~^~~~~~~ [155/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/EvalRateRuleRatesCodeGen.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/EvalRateRuleRatesCodeGen.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/EvalRateRuleRatesCodeGen.cpp: In member function ‘virtual llvm::Value* rrllvm::EvalRateRuleRatesCodeGen::codeGen()’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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/llvm13/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm13/include/llvm/PassSupport.h:29, from /usr/lib64/llvm13/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/ModelGeneratorContext.h:14, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/CodeGenBase.h:11, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/EvalRateRuleRatesCodeGen.h:11, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/EvalRateRuleRatesCodeGen.cpp:8: /usr/lib64/llvm13/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/llvm13/include/llvm/Transforms/InstCombine/InstCombineWorklist.h:120:22: required from here 120 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm13/include/llvm/ADT/DenseMap.h:128:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 128 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/CodeGenBase.h: In instantiation of ‘rrllvm::CodeGenBase::CodeGenBase(const rrllvm::ModelGeneratorContext&) [with FunctionPtrType = void (*)(rrllvm::LLVMModelData*)]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/EvalRateRuleRatesCodeGen.cpp:30:55: required from here 30 | CodeGenBase(mgc) | ^ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/CodeGenBase.h:108:20: warning: ‘rrllvm::CodeGenBase::options’ will be initialized after [-Wreorder] 108 | const unsigned options; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/CodeGenBase.h:98:21: warning: ‘llvm::Function* rrllvm::CodeGenBase::function’ [-Wreorder] 98 | llvm::Function *function; | ^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/CodeGenBase.h:71:5: warning: when initialized here [-Wreorder] 71 | CodeGenBase(const ModelGeneratorContext &mgc) : | ^~~~~~~~~~~ [156/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/EvalReactionRatesCodeGen.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/EvalReactionRatesCodeGen.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/EvalReactionRatesCodeGen.cpp: In member function ‘virtual llvm::Value* rrllvm::EvalReactionRatesCodeGen::codeGen()’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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/llvm13/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm13/include/llvm/PassSupport.h:29, from /usr/lib64/llvm13/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/ModelGeneratorContext.h:14, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/EvalReactionRatesCodeGen.h:12, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/EvalReactionRatesCodeGen.cpp:8: /usr/lib64/llvm13/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/llvm13/include/llvm/Transforms/InstCombine/InstCombineWorklist.h:120:22: required from here 120 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm13/include/llvm/ADT/DenseMap.h:128:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 128 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/EvalReactionRatesCodeGen.h:13: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/CodeGenBase.h: In instantiation of ‘rrllvm::CodeGenBase::CodeGenBase(const rrllvm::ModelGeneratorContext&) [with FunctionPtrType = double (*)(rrllvm::LLVMModelData*)]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/EvalReactionRatesCodeGen.cpp:31:55: required from here 31 | CodeGenBase(mgc) | ^ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/CodeGenBase.h:108:20: warning: ‘rrllvm::CodeGenBase::options’ will be initialized after [-Wreorder] 108 | const unsigned options; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/CodeGenBase.h:98:21: warning: ‘llvm::Function* rrllvm::CodeGenBase::function’ [-Wreorder] 98 | llvm::Function *function; | ^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/CodeGenBase.h:71:5: warning: when initialized here [-Wreorder] 71 | CodeGenBase(const ModelGeneratorContext &mgc) : | ^~~~~~~~~~~ [157/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/EvalVolatileStoichCodeGen.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/EvalVolatileStoichCodeGen.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop In file included from /usr/lib64/llvm13/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm13/include/llvm/PassSupport.h:29, from /usr/lib64/llvm13/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/ModelGeneratorContext.h:14, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/CodeGenBase.h:11, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/EvalVolatileStoichCodeGen.h:11, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/EvalVolatileStoichCodeGen.cpp:9: /usr/lib64/llvm13/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/llvm13/include/llvm/Transforms/InstCombine/InstCombineWorklist.h:120:22: required from here 120 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm13/include/llvm/ADT/DenseMap.h:128:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 128 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/CodeGenBase.h: In instantiation of ‘rrllvm::CodeGenBase::CodeGenBase(const rrllvm::ModelGeneratorContext&) [with FunctionPtrType = void (*)(rrllvm::LLVMModelData*)]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/EvalVolatileStoichCodeGen.cpp:30:67: required from here 30 | CodeGenBase(mgc) { | ^ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/CodeGenBase.h:108:20: warning: ‘rrllvm::CodeGenBase::options’ will be initialized after [-Wreorder] 108 | const unsigned options; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/CodeGenBase.h:98:21: warning: ‘llvm::Function* rrllvm::CodeGenBase::function’ [-Wreorder] 98 | llvm::Function *function; | ^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/CodeGenBase.h:71:5: warning: when initialized here [-Wreorder] 71 | CodeGenBase(const ModelGeneratorContext &mgc) : | ^~~~~~~~~~~ [158/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/EventAssignCodeGen.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/EventAssignCodeGen.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop In file included from /usr/lib64/llvm13/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm13/include/llvm/PassSupport.h:29, from /usr/lib64/llvm13/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/ModelGeneratorContext.h:14, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/CodeGenBase.h:11, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/EventCodeGenBase.h:11, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/EventAssignCodeGen.h:11, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/EventAssignCodeGen.cpp:8: /usr/lib64/llvm13/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/llvm13/include/llvm/Transforms/InstCombine/InstCombineWorklist.h:120:22: required from here 120 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm13/include/llvm/ADT/DenseMap.h:128:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 128 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/EventAssignCodeGen.cpp:21:49: required from here 21 | EventCodeGenBase(mgc) | ^ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/CodeGenBase.h:108:20: warning: ‘rrllvm::CodeGenBase::options’ will be initialized after [-Wreorder] 108 | const unsigned options; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/CodeGenBase.h:98:21: warning: ‘llvm::Function* rrllvm::CodeGenBase::function’ [-Wreorder] 98 | llvm::Function *function; | ^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/CodeGenBase.h:71:5: warning: when initialized here [-Wreorder] 71 | CodeGenBase(const ModelGeneratorContext &mgc) : | ^~~~~~~~~~~ [159/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/EventQueue.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/EventQueue.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop In file included from /usr/lib64/llvm13/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm13/include/llvm/PassSupport.h:29, from /usr/lib64/llvm13/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:25, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/EventQueue.cpp:9: /usr/lib64/llvm13/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/llvm13/include/llvm/Transforms/InstCombine/InstCombineWorklist.h:120:22: required from here 120 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm13/include/llvm/ADT/DenseMap.h:128:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 128 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/EventQueue.cpp:11: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:38: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions 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.9.2-build/libroadrunner-2.9.2/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [160/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/EventTriggerCodeGen.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/EventTriggerCodeGen.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop In file included from /usr/lib64/llvm13/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm13/include/llvm/PassSupport.h:29, from /usr/lib64/llvm13/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/ModelGeneratorContext.h:14, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/CodeGenBase.h:11, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/EventCodeGenBase.h:11, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/EventTriggerCodeGen.h:11, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/EventTriggerCodeGen.cpp:8: /usr/lib64/llvm13/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/llvm13/include/llvm/Transforms/InstCombine/InstCombineWorklist.h:120:22: required from here 120 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm13/include/llvm/ADT/DenseMap.h:128:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 128 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/EventTriggerCodeGen.cpp:21:50: required from here 21 | EventCodeGenBase(mgc) | ^ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/CodeGenBase.h:108:20: warning: ‘rrllvm::CodeGenBase::options’ will be initialized after [-Wreorder] 108 | const unsigned options; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/CodeGenBase.h:98:21: warning: ‘llvm::Function* rrllvm::CodeGenBase::function’ [-Wreorder] 98 | llvm::Function *function; | ^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/CodeGenBase.h:71:5: warning: when initialized here [-Wreorder] 71 | CodeGenBase(const ModelGeneratorContext &mgc) : | ^~~~~~~~~~~ [161/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/FunctionResolver.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/FunctionResolver.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/FunctionResolver.cpp:8: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/FunctionResolver.h: In constructor ‘rrllvm::FunctionResolver::FunctionResolver(rrllvm::LoadSymbolResolver&, llvm::Value*, const rrllvm::ModelGeneratorContext&)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/FunctionResolver.h:42:34: warning: ‘rrllvm::FunctionResolver::modelGenContext’ will be initialized after [-Wreorder] 42 | const ModelGeneratorContext& modelGenContext; | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/FunctionResolver.h:41:25: warning: ‘rrllvm::LoadSymbolResolver& rrllvm::FunctionResolver::parentResolver’ [-Wreorder] 41 | LoadSymbolResolver& parentResolver; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/FunctionResolver.cpp:29:1: warning: when initialized here [-Wreorder] 29 | FunctionResolver::FunctionResolver(LoadSymbolResolver& parentResolver, | ^~~~~~~~~~~~~~~~ In file included from /usr/lib64/llvm13/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm13/include/llvm/PassSupport.h:29, from /usr/lib64/llvm13/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/CodeGen.h:11, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/FunctionResolver.h:11: /usr/lib64/llvm13/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/llvm13/include/llvm/Transforms/InstCombine/InstCombineWorklist.h:120:22: required from here 120 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm13/include/llvm/ADT/DenseMap.h:128:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 128 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/FunctionResolver.cpp:11: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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++) { | ~~^~~~~~~ [162/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/GetEventValuesCodeGen.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetEventValuesCodeGen.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop In file included from /usr/lib64/llvm13/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm13/include/llvm/PassSupport.h:29, from /usr/lib64/llvm13/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/ModelGeneratorContext.h:14, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/CodeGenBase.h:11, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetEventValuesCodeGen.h:11, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetEventValuesCodeGen.cpp:8: /usr/lib64/llvm13/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/llvm13/include/llvm/Transforms/InstCombine/InstCombineWorklist.h:120:22: required from here 120 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm13/include/llvm/ADT/DenseMap.h:128:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 128 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/GetEventValuesCodeGen.cpp:28:48: required from here 28 | GetEventTriggerCodeGen_FunctionPtr>(mgc) | ^ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/CodeGenBase.h:108:20: warning: ‘rrllvm::CodeGenBase::options’ will be initialized after [-Wreorder] 108 | const unsigned options; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/CodeGenBase.h:98:21: warning: ‘llvm::Function* rrllvm::CodeGenBase::function’ [-Wreorder] 98 | llvm::Function *function; | ^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/CodeGenBase.h:71:5: warning: when initialized here [-Wreorder] 71 | CodeGenBase(const ModelGeneratorContext &mgc) : | ^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/GetEventValuesCodeGen.cpp:64:15: required from here 64 | node(0) | ^ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/CodeGenBase.h:108:20: warning: ‘rrllvm::CodeGenBase::options’ will be initialized after [-Wreorder] 108 | const unsigned options; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/CodeGenBase.h:98:21: warning: ‘llvm::Function* rrllvm::CodeGenBase::function’ [-Wreorder] 98 | llvm::Function *function; | ^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/CodeGenBase.h:71:5: warning: when initialized here [-Wreorder] 71 | CodeGenBase(const ModelGeneratorContext &mgc) : | ^~~~~~~~~~~ [163/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValuesCodeGen.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValuesCodeGen.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop In file included from /usr/lib64/llvm13/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm13/include/llvm/PassSupport.h:29, from /usr/lib64/llvm13/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/ModelGeneratorContext.h:14, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/CodeGenBase.h:11, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValuesCodeGen.h:11, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValuesCodeGen.cpp:8: /usr/lib64/llvm13/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/llvm13/include/llvm/Transforms/InstCombine/InstCombineWorklist.h:120:22: required from here 120 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm13/include/llvm/ADT/DenseMap.h:128:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 128 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValuesCodeGen.cpp:29:90: required from here 29 | GetInitialValueCodeGenBase(mgc) | ^ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/CodeGenBase.h:108:20: warning: ‘rrllvm::CodeGenBase::options’ will be initialized after [-Wreorder] 108 | const unsigned options; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/CodeGenBase.h:98:21: warning: ‘llvm::Function* rrllvm::CodeGenBase::function’ [-Wreorder] 98 | llvm::Function *function; | ^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValuesCodeGen.h:16: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [164/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/GetPiecewiseTriggerCodeGen.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetPiecewiseTriggerCodeGen.cpp:4: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 4 | #pragma hdrstop In file included from /usr/lib64/llvm13/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm13/include/llvm/PassSupport.h:29, from /usr/lib64/llvm13/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/ModelGeneratorContext.h:14, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/CodeGenBase.h:11, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetPiecewiseTriggerCodeGen.h:9, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetPiecewiseTriggerCodeGen.cpp:5: /usr/lib64/llvm13/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/llvm13/include/llvm/Transforms/InstCombine/InstCombineWorklist.h:120:22: required from here 120 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm13/include/llvm/ADT/DenseMap.h:128:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 128 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/GetPiecewiseTriggerCodeGen.cpp:24:55: required from here 24 | , piecewiseTriggers(mgc.getPiecewiseTriggers()) | ^ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/CodeGenBase.h:108:20: warning: ‘rrllvm::CodeGenBase::options’ will be initialized after [-Wreorder] 108 | const unsigned options; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/CodeGenBase.h:98:21: warning: ‘llvm::Function* rrllvm::CodeGenBase::function’ [-Wreorder] 98 | llvm::Function *function; | ^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/CodeGenBase.h:71:5: warning: when initialized here [-Wreorder] 71 | CodeGenBase(const ModelGeneratorContext &mgc) : | ^~~~~~~~~~~ [165/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/GetValuesCodeGen.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValuesCodeGen.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop In file included from /usr/lib64/llvm13/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm13/include/llvm/PassSupport.h:29, from /usr/lib64/llvm13/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/ModelGeneratorContext.h:14, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/CodeGenBase.h:11, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValuesCodeGen.h:11, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValuesCodeGen.cpp:8: /usr/lib64/llvm13/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/llvm13/include/llvm/Transforms/InstCombine/InstCombineWorklist.h:120:22: required from here 120 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm13/include/llvm/ADT/DenseMap.h:128:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 128 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/GetValuesCodeGen.cpp:27:71: required from here 27 | GetValueCodeGenBase(mgc) | ^ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/CodeGenBase.h:108:20: warning: ‘rrllvm::CodeGenBase::options’ will be initialized after [-Wreorder] 108 | const unsigned options; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/CodeGenBase.h:98:21: warning: ‘llvm::Function* rrllvm::CodeGenBase::function’ [-Wreorder] 98 | llvm::Function *function; | ^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/GetValuesCodeGen.h:16: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions 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/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/KineticLawParameterResolver.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/KineticLawParameterResolver.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop In file included from /usr/lib64/llvm13/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm13/include/llvm/PassSupport.h:29, from /usr/lib64/llvm13/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/CodeGen.h:11, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/KineticLawParameterResolver.h:11, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/KineticLawParameterResolver.cpp:8: /usr/lib64/llvm13/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/llvm13/include/llvm/Transforms/InstCombine/InstCombineWorklist.h:120:22: required from here 120 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm13/include/llvm/ADT/DenseMap.h:128:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 128 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ [167/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/Jit.cpp In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/Jit.cpp:8: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/Jit.h: In constructor ‘rrllvm::Jit::Jit(uint32_t)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/Jit.h:379:44: warning: ‘std::unique_ptr rrllvm::Jit::context’ [-Wreorder] 379 | std::unique_ptr context; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/Jit.cpp:36:5: warning: when initialized here [-Wreorder] 36 | Jit::Jit(std::uint32_t options) | ^~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/Jit.h:354:52: warning: ‘std::unique_ptr rrllvm::Jit::compiledModuleBinaryStream’ [-Wreorder] 354 | std::unique_ptr compiledModuleBinaryStream; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/Jit.cpp:36:5: warning: when initialized here [-Wreorder] 36 | Jit::Jit(std::uint32_t options) | ^~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/Jit.cpp: In member function ‘rrllvm::FnMap rrllvm::Jit::externalFunctionSignatures() const’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/Jit.cpp:369:29: warning: unused variable ‘fnTy_double_void_d4’ [-Wunused-variable] 369 | llvm::FunctionType *fnTy_double_void_d4 = llvm::FunctionType::get(double_type, args_void_double_quadruple,false); | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/Jit.cpp:370:29: warning: unused variable ‘fnTy_double_void_d3’ [-Wunused-variable] 370 | llvm::FunctionType *fnTy_double_void_d3 = llvm::FunctionType::get(double_type, args_void_double_triple, false); | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/Jit.cpp:371:29: warning: unused variable ‘fnTy_double_void_d2’ [-Wunused-variable] 371 | llvm::FunctionType *fnTy_double_void_d2 = llvm::FunctionType::get(double_type, args_void_double_double, false); | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/Jit.cpp:372:29: warning: unused variable ‘fnTy_double_void_d1’ [-Wunused-variable] 372 | llvm::FunctionType *fnTy_double_void_d1 = llvm::FunctionType::get(double_type, args_void_double, false); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/lib64/llvm13/include/llvm/Analysis/TargetLibraryInfo.h:13, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/Jit.h:22: /usr/lib64/llvm13/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/llvm13/include/llvm/Transforms/InstCombine/InstCombineWorklist.h:120:22: required from here 120 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm13/include/llvm/ADT/DenseMap.h:128:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 128 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:39, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/ModelResources.h:12, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/Jit.cpp:9: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:38: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions 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.9.2-build/libroadrunner-2.9.2/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [168/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/JitFactory.cpp [169/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelData.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelData.cpp:8: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 8 | #pragma hdrstop In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelData.cpp:18: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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++) { | ~~^~~~~~~ [170/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMCompiler.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMCompiler.cpp:10: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 10 | #pragma hdrstop In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMCompiler.cpp:13: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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/llvm13/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm13/include/llvm/PassSupport.h:29, from /usr/lib64/llvm13/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMCompiler.cpp:14: /usr/lib64/llvm13/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/llvm13/include/llvm/Transforms/InstCombine/InstCombineWorklist.h:120:22: required from here 120 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm13/include/llvm/ADT/DenseMap.h:128:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 128 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ [171/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/LLJit.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLJit.cpp: In constructor ‘rrllvm::LLJit::LLJit(uint32_t)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLJit.cpp:95:50: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 95 | llvm::logAllUnhandledErrors(std::move(expectedJTMB.takeError()), llvm::errs(), | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLJit.cpp:95:50: note: remove ‘std::move’ call /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLJit.cpp:122:50: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 122 | llvm::logAllUnhandledErrors(std::move(DL.takeError()), llvm::errs(), err); | ~~~~~~~~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLJit.cpp:122:50: note: remove ‘std::move’ call /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLJit.cpp:130:50: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 130 | llvm::logAllUnhandledErrors(std::move(expectedTargetMachine.takeError()), llvm::errs(), err); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLJit.cpp:130:50: note: remove ‘std::move’ call /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLJit.cpp:139:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 139 | std::move(DLSG.takeError()), | ~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLJit.cpp:139:30: note: remove ‘std::move’ call /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLJit.cpp:195:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 195 | std::move(llJitExpected.takeError()), llvm::errs(), "[LLJit creation failure] "); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLJit.cpp:195:30: note: remove ‘std::move’ call /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLJit.cpp: In member function ‘virtual uint64_t rrllvm::LLJit::lookupFunctionAddress(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLJit.cpp:253:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 253 | std::move(expectedSymbol.takeError()), | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLJit.cpp:253:30: note: remove ‘std::move’ call /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLJit.cpp: In member function ‘virtual std::unique_ptr rrllvm::LLJit::getCompiledModelFromCache(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLJit.cpp:331:25: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 331 | return std::move(objBuf); | ~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLJit.cpp:331:25: note: remove ‘std::move’ call In file included from /usr/lib64/llvm13/include/llvm/ADT/DenseSet.h:16, from /usr/lib64/llvm13/include/llvm/ExecutionEngine/Orc/Core.h:17, from /usr/lib64/llvm13/include/llvm/ExecutionEngine/Orc/IndirectionUtils.h:19, from /usr/lib64/llvm13/include/llvm/ExecutionEngine/Orc/CompileOnDemandLayer.h:22, from /usr/lib64/llvm13/include/llvm/ExecutionEngine/Orc/LLJIT.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SBMLModelObjectCache.h:20, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLJit.h:10, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLJit.cpp:6: /usr/lib64/llvm13/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/llvm13/include/llvm/Transforms/InstCombine/InstCombineWorklist.h:120:22: required from here 120 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm13/include/llvm/ADT/DenseMap.h:128:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 128 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ /usr/lib64/llvm13/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/llvm13/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/llvm13/include/llvm/ExecutionEngine/JITLink/JITLink.h:732:18: required from here 732 | Symbols.clear(); | ~~~~~~~~~~~~~^~ /usr/lib64/llvm13/include/llvm/ADT/DenseMap.h:128:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 128 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ /usr/lib64/llvm13/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/llvm13/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/llvm13/include/llvm/ExecutionEngine/JITLink/JITLink.h:733:17: required from here 733 | Blocks.clear(); | ~~~~~~~~~~~~^~ /usr/lib64/llvm13/include/llvm/ADT/DenseMap.h:128:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 128 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrConfig.h:13, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLJit.cpp:7: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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 ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/LLJit.cpp:148:95: required from here 148 | int numCompileThreads = rr::Config::getValue(rr::Config::LLJIT_NUM_THREADS).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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 ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/LLJit.cpp:148:95: required from here 148 | int numCompileThreads = rr::Config::getValue(rr::Config::LLJIT_NUM_THREADS).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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 ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/LLJit.cpp:148:95: required from here 148 | int numCompileThreads = rr::Config::getValue(rr::Config::LLJIT_NUM_THREADS).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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 ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/LLJit.cpp:148:95: required from here 148 | int numCompileThreads = rr::Config::getValue(rr::Config::LLJIT_NUM_THREADS).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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 ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/LLJit.cpp:148:95: required from here 148 | int numCompileThreads = rr::Config::getValue(rr::Config::LLJIT_NUM_THREADS).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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 ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/LLJit.cpp:148:95: required from here 148 | int numCompileThreads = rr::Config::getValue(rr::Config::LLJIT_NUM_THREADS).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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 ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/LLJit.cpp:148:95: required from here 148 | int numCompileThreads = rr::Config::getValue(rr::Config::LLJIT_NUM_THREADS).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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 ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/LLJit.cpp:148:95: required from here 148 | int numCompileThreads = rr::Config::getValue(rr::Config::LLJIT_NUM_THREADS).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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 ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/LLJit.cpp:148:95: required from here 148 | int numCompileThreads = rr::Config::getValue(rr::Config::LLJIT_NUM_THREADS).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [172/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelDataSymbols.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelDataSymbols.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelDataSymbols.cpp:15: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelDataSymbols.h: In constructor ‘rrllvm::LLVMModelDataSymbols::LLVMModelDataSymbols()’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelDataSymbols.h:732:13: warning: ‘rrllvm::LLVMModelDataSymbols::independentCompartmentSize’ will be initialized after [-Wreorder] 732 | size_t independentCompartmentSize; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelDataSymbols.h:640:10: warning: ‘uint rrllvm::LLVMModelDataSymbols::independentInitFloatingSpeciesSize’ [-Wreorder] 640 | uint independentInitFloatingSpeciesSize; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelDataSymbols.cpp:121:1: warning: when initialized here [-Wreorder] 121 | LLVMModelDataSymbols::LLVMModelDataSymbols() : | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelDataSymbols.h: In constructor ‘rrllvm::LLVMModelDataSymbols::LLVMModelDataSymbols(const Model*, unsigned int)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelDataSymbols.h:732:13: warning: ‘rrllvm::LLVMModelDataSymbols::independentCompartmentSize’ will be initialized after [-Wreorder] 732 | size_t independentCompartmentSize; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelDataSymbols.h:640:10: warning: ‘uint rrllvm::LLVMModelDataSymbols::independentInitFloatingSpeciesSize’ [-Wreorder] 640 | uint independentInitFloatingSpeciesSize; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelDataSymbols.cpp:136:1: warning: when initialized here [-Wreorder] 136 | LLVMModelDataSymbols::LLVMModelDataSymbols(const ::Model *model, unsigned options) | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelDataSymbols.cpp: In member function ‘rrllvm::LLVMModelDataSymbols::SymbolIndexType rrllvm::LLVMModelDataSymbols::getSymbolIndex(const std::string&, int&) const’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelDataSymbols.cpp:271:48: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 271 | for (int stoichIndex = 0 ; stoichIndex < stoichIds.size(); ++stoichIndex) { | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelDataSymbols.cpp: In member function ‘int rrllvm::LLVMModelDataSymbols::getStoichiometryIndex(const std::string&) const’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelDataSymbols.cpp:378:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 378 | for (int i = 0; i < stoichIds.size(); ++i) | ~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelDataSymbols.cpp: In member function ‘int rrllvm::LLVMModelDataSymbols::getStoichiometryIndex(const std::string&, const std::string&) const’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelDataSymbols.cpp:395:32: warning: comparison of integer expressions of different signedness: ‘const uint’ {aka ‘const unsigned int’} and ‘int’ [-Wsign-compare] 395 | if (stoichiometry->row == speciesIndex && stoichiometry->column == reactionIndex) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelDataSymbols.cpp:395:73: warning: comparison of integer expressions of different signedness: ‘const uint’ {aka ‘const unsigned int’} and ‘int’ [-Wsign-compare] 395 | if (stoichiometry->row == speciesIndex && stoichiometry->column == reactionIndex) | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelDataSymbols.cpp: In member function ‘int rrllvm::LLVMModelDataSymbols::getConservedMoietyIndex(const std::string&) const’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelDataSymbols.cpp:1908:16: warning: comparison of integer expressions of different signedness: ‘const unsigned int’ and ‘int’ [-Wsign-compare] 1908 | if (*i == gp) | ~~~^~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelDataSymbols.cpp:27: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelDataSymbols.cpp:1977:16: required from here 1977 | rr::loadBinary(in, conservedMoietySpeciesSet); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelDataSymbols.cpp:1978:16: required from here 1978 | rr::loadBinary(in, conservedMoietyGlobalParameter); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelDataSymbols.cpp:1979:16: required from here 1979 | rr::loadBinary(in, conservedMoietyGlobalParameterIndex); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelDataSymbols.cpp:1980:16: required from here 1980 | rr::loadBinary(in, floatingSpeciesToConservedMoietyIdMap); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelDataSymbols.cpp:1981:16: required from here 1981 | rr::loadBinary(in, conservedMoietyDepSpecies); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelDataSymbols.cpp:1982:16: required from here 1982 | rr::loadBinary(in, conservedMoietyIndSpecies); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelDataSymbols.cpp:2008:16: required from here 2008 | rr::loadBinary(in, stoichIds); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelDataSymbols.cpp:2010:16: required from here 2010 | rr::loadBinary(in, stoichTypes); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelDataSymbols.cpp:2021:16: required from here 2021 | rr::loadBinary(in, eventAssignmentsSize); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelDataSymbols.cpp:2022:16: required from here 2022 | rr::loadBinary(in, eventAttributes); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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++) { | ~~^~~~~~~ [173/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.cpp:8: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 8 | #pragma hdrstop In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.cpp:9: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h: In constructor ‘rrllvm::LLVMExecutableModel::LLVMExecutableModel()’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:662:33: warning: ‘rrllvm::LLVMExecutableModel::symbols’ will be initialized after [-Wreorder] 662 | const LLVMModelDataSymbols *symbols; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:660:20: warning: ‘rrllvm::LLVMModelData* rrllvm::LLVMExecutableModel::modelData’ [-Wreorder] 660 | LLVMModelData *modelData; | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.cpp:166:1: warning: when initialized here [-Wreorder] 166 | LLVMExecutableModel::LLVMExecutableModel() : | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:748:12: warning: ‘rrllvm::LLVMExecutableModel::conversionFactor’ will be initialized after [-Wreorder] 748 | double conversionFactor; | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:666:47: warning: ‘void (* rrllvm::LLVMExecutableModel::evalInitialConditionsPtr)(rrllvm::LLVMModelData*, size_t)’ [-Wreorder] 666 | EvalInitialConditionsCodeGen::FunctionPtr evalInitialConditionsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.cpp:166:1: warning: when initialized here [-Wreorder] 166 | LLVMExecutableModel::LLVMExecutableModel() : | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:666:47: warning: ‘rrllvm::LLVMExecutableModel::evalInitialConditionsPtr’ will be initialized after [-Wreorder] 666 | EvalInitialConditionsCodeGen::FunctionPtr evalInitialConditionsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:665:43: warning: ‘double (* rrllvm::LLVMExecutableModel::evalReactionRatesPtr)(rrllvm::LLVMModelData*)’ [-Wreorder] 665 | EvalReactionRatesCodeGen::FunctionPtr evalReactionRatesPtr; | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.cpp:166:1: warning: when initialized here [-Wreorder] 166 | LLVMExecutableModel::LLVMExecutableModel() : | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:672:44: warning: ‘rrllvm::LLVMExecutableModel::getGlobalParameterPtr’ will be initialized after [-Wreorder] 672 | GetGlobalParameterCodeGen::FunctionPtr getGlobalParameterPtr; | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:671:46: warning: ‘double (* rrllvm::LLVMExecutableModel::getCompartmentVolumePtr)(rrllvm::LLVMModelData*, size_t)’ [-Wreorder] 671 | GetCompartmentVolumeCodeGen::FunctionPtr getCompartmentVolumePtr; | ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.cpp:166:1: warning: when initialized here [-Wreorder] 166 | LLVMExecutableModel::LLVMExecutableModel() : | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:695:61: warning: ‘rrllvm::LLVMExecutableModel::getFloatingSpeciesInitConcentrationsPtr’ will be initialized after [-Wreorder] 695 | GetFloatingSpeciesInitConcentrationCodeGen::FunctionPtr getFloatingSpeciesInitConcentrationsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:693:61: warning: ‘bool (* rrllvm::LLVMExecutableModel::setFloatingSpeciesInitConcentrationsPtr)(rrllvm::LLVMModelData*, int32_t, double)’ [-Wreorder] 693 | SetFloatingSpeciesInitConcentrationCodeGen::FunctionPtr setFloatingSpeciesInitConcentrationsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.cpp:166:1: warning: when initialized here [-Wreorder] 166 | LLVMExecutableModel::LLVMExecutableModel() : | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:698:54: warning: ‘rrllvm::LLVMExecutableModel::getFloatingSpeciesInitAmountsPtr’ will be initialized after [-Wreorder] 698 | GetFloatingSpeciesInitAmountCodeGen::FunctionPtr getFloatingSpeciesInitAmountsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:697:54: warning: ‘bool (* rrllvm::LLVMExecutableModel::setFloatingSpeciesInitAmountsPtr)(rrllvm::LLVMModelData*, int32_t, double)’ [-Wreorder] 697 | SetFloatingSpeciesInitAmountCodeGen::FunctionPtr setFloatingSpeciesInitAmountsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.cpp:166:1: warning: when initialized here [-Wreorder] 166 | LLVMExecutableModel::LLVMExecutableModel() : | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:697:54: warning: ‘rrllvm::LLVMExecutableModel::setFloatingSpeciesInitAmountsPtr’ will be initialized after [-Wreorder] 697 | SetFloatingSpeciesInitAmountCodeGen::FunctionPtr setFloatingSpeciesInitAmountsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:696:61: warning: ‘double (* rrllvm::LLVMExecutableModel::getBoundarySpeciesInitConcentrationsPtr)(rrllvm::LLVMModelData*, size_t)’ [-Wreorder] 696 | GetBoundarySpeciesInitConcentrationCodeGen::FunctionPtr getBoundarySpeciesInitConcentrationsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.cpp:166:1: warning: when initialized here [-Wreorder] 166 | LLVMExecutableModel::LLVMExecutableModel() : | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:696:61: warning: ‘rrllvm::LLVMExecutableModel::getBoundarySpeciesInitConcentrationsPtr’ will be initialized after [-Wreorder] 696 | GetBoundarySpeciesInitConcentrationCodeGen::FunctionPtr getBoundarySpeciesInitConcentrationsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:694:61: warning: ‘bool (* rrllvm::LLVMExecutableModel::setBoundarySpeciesInitConcentrationsPtr)(rrllvm::LLVMModelData*, int32_t, double)’ [-Wreorder] 694 | SetBoundarySpeciesInitConcentrationCodeGen::FunctionPtr setBoundarySpeciesInitConcentrationsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.cpp:166:1: warning: when initialized here [-Wreorder] 166 | LLVMExecutableModel::LLVMExecutableModel() : | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:700:54: warning: ‘rrllvm::LLVMExecutableModel::getBoundarySpeciesInitAmountsPtr’ will be initialized after [-Wreorder] 700 | GetBoundarySpeciesInitAmountCodeGen::FunctionPtr getBoundarySpeciesInitAmountsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:699:54: warning: ‘bool (* rrllvm::LLVMExecutableModel::setBoundarySpeciesInitAmountsPtr)(rrllvm::LLVMModelData*, int32_t, double)’ [-Wreorder] 699 | SetBoundarySpeciesInitAmountCodeGen::FunctionPtr setBoundarySpeciesInitAmountsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.cpp:166:1: warning: when initialized here [-Wreorder] 166 | LLVMExecutableModel::LLVMExecutableModel() : | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:702:50: warning: ‘rrllvm::LLVMExecutableModel::getCompartmentInitVolumesPtr’ will be initialized after [-Wreorder] 702 | GetCompartmentInitVolumeCodeGen::FunctionPtr getCompartmentInitVolumesPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:701:50: warning: ‘bool (* rrllvm::LLVMExecutableModel::setCompartmentInitVolumesPtr)(rrllvm::LLVMModelData*, int32_t, double)’ [-Wreorder] 701 | SetCompartmentInitVolumeCodeGen::FunctionPtr setCompartmentInitVolumesPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.cpp:166:1: warning: when initialized here [-Wreorder] 166 | LLVMExecutableModel::LLVMExecutableModel() : | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h: In constructor ‘rrllvm::LLVMExecutableModel::LLVMExecutableModel(const std::shared_ptr&, rrllvm::LLVMModelData*)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:662:33: warning: ‘rrllvm::LLVMExecutableModel::symbols’ will be initialized after [-Wreorder] 662 | const LLVMModelDataSymbols *symbols; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:660:20: warning: ‘rrllvm::LLVMModelData* rrllvm::LLVMExecutableModel::modelData’ [-Wreorder] 660 | LLVMModelData *modelData; | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.cpp:212:1: warning: when initialized here [-Wreorder] 212 | LLVMExecutableModel::LLVMExecutableModel( | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:748:12: warning: ‘rrllvm::LLVMExecutableModel::conversionFactor’ will be initialized after [-Wreorder] 748 | double conversionFactor; | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:666:47: warning: ‘void (* rrllvm::LLVMExecutableModel::evalInitialConditionsPtr)(rrllvm::LLVMModelData*, size_t)’ [-Wreorder] 666 | EvalInitialConditionsCodeGen::FunctionPtr evalInitialConditionsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.cpp:212:1: warning: when initialized here [-Wreorder] 212 | LLVMExecutableModel::LLVMExecutableModel( | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:666:47: warning: ‘rrllvm::LLVMExecutableModel::evalInitialConditionsPtr’ will be initialized after [-Wreorder] 666 | EvalInitialConditionsCodeGen::FunctionPtr evalInitialConditionsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:665:43: warning: ‘double (* rrllvm::LLVMExecutableModel::evalReactionRatesPtr)(rrllvm::LLVMModelData*)’ [-Wreorder] 665 | EvalReactionRatesCodeGen::FunctionPtr evalReactionRatesPtr; | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.cpp:212:1: warning: when initialized here [-Wreorder] 212 | LLVMExecutableModel::LLVMExecutableModel( | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:695:61: warning: ‘rrllvm::LLVMExecutableModel::getFloatingSpeciesInitConcentrationsPtr’ will be initialized after [-Wreorder] 695 | GetFloatingSpeciesInitConcentrationCodeGen::FunctionPtr getFloatingSpeciesInitConcentrationsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:693:61: warning: ‘bool (* rrllvm::LLVMExecutableModel::setFloatingSpeciesInitConcentrationsPtr)(rrllvm::LLVMModelData*, int32_t, double)’ [-Wreorder] 693 | SetFloatingSpeciesInitConcentrationCodeGen::FunctionPtr setFloatingSpeciesInitConcentrationsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.cpp:212:1: warning: when initialized here [-Wreorder] 212 | LLVMExecutableModel::LLVMExecutableModel( | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:698:54: warning: ‘rrllvm::LLVMExecutableModel::getFloatingSpeciesInitAmountsPtr’ will be initialized after [-Wreorder] 698 | GetFloatingSpeciesInitAmountCodeGen::FunctionPtr getFloatingSpeciesInitAmountsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:697:54: warning: ‘bool (* rrllvm::LLVMExecutableModel::setFloatingSpeciesInitAmountsPtr)(rrllvm::LLVMModelData*, int32_t, double)’ [-Wreorder] 697 | SetFloatingSpeciesInitAmountCodeGen::FunctionPtr setFloatingSpeciesInitAmountsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.cpp:212:1: warning: when initialized here [-Wreorder] 212 | LLVMExecutableModel::LLVMExecutableModel( | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:697:54: warning: ‘rrllvm::LLVMExecutableModel::setFloatingSpeciesInitAmountsPtr’ will be initialized after [-Wreorder] 697 | SetFloatingSpeciesInitAmountCodeGen::FunctionPtr setFloatingSpeciesInitAmountsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:696:61: warning: ‘double (* rrllvm::LLVMExecutableModel::getBoundarySpeciesInitConcentrationsPtr)(rrllvm::LLVMModelData*, size_t)’ [-Wreorder] 696 | GetBoundarySpeciesInitConcentrationCodeGen::FunctionPtr getBoundarySpeciesInitConcentrationsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.cpp:212:1: warning: when initialized here [-Wreorder] 212 | LLVMExecutableModel::LLVMExecutableModel( | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:696:61: warning: ‘rrllvm::LLVMExecutableModel::getBoundarySpeciesInitConcentrationsPtr’ will be initialized after [-Wreorder] 696 | GetBoundarySpeciesInitConcentrationCodeGen::FunctionPtr getBoundarySpeciesInitConcentrationsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:694:61: warning: ‘bool (* rrllvm::LLVMExecutableModel::setBoundarySpeciesInitConcentrationsPtr)(rrllvm::LLVMModelData*, int32_t, double)’ [-Wreorder] 694 | SetBoundarySpeciesInitConcentrationCodeGen::FunctionPtr setBoundarySpeciesInitConcentrationsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.cpp:212:1: warning: when initialized here [-Wreorder] 212 | LLVMExecutableModel::LLVMExecutableModel( | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:700:54: warning: ‘rrllvm::LLVMExecutableModel::getBoundarySpeciesInitAmountsPtr’ will be initialized after [-Wreorder] 700 | GetBoundarySpeciesInitAmountCodeGen::FunctionPtr getBoundarySpeciesInitAmountsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:699:54: warning: ‘bool (* rrllvm::LLVMExecutableModel::setBoundarySpeciesInitAmountsPtr)(rrllvm::LLVMModelData*, int32_t, double)’ [-Wreorder] 699 | SetBoundarySpeciesInitAmountCodeGen::FunctionPtr setBoundarySpeciesInitAmountsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.cpp:212:1: warning: when initialized here [-Wreorder] 212 | LLVMExecutableModel::LLVMExecutableModel( | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:702:50: warning: ‘rrllvm::LLVMExecutableModel::getCompartmentInitVolumesPtr’ will be initialized after [-Wreorder] 702 | GetCompartmentInitVolumeCodeGen::FunctionPtr getCompartmentInitVolumesPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:701:50: warning: ‘bool (* rrllvm::LLVMExecutableModel::setCompartmentInitVolumesPtr)(rrllvm::LLVMModelData*, int32_t, double)’ [-Wreorder] 701 | SetCompartmentInitVolumeCodeGen::FunctionPtr setCompartmentInitVolumesPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.cpp:212:1: warning: when initialized here [-Wreorder] 212 | LLVMExecutableModel::LLVMExecutableModel( | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h: In constructor ‘rrllvm::LLVMExecutableModel::LLVMExecutableModel(std::istream&, uint)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:754:14: warning: ‘rrllvm::LLVMExecutableModel::dirty’ will be initialized after [-Wreorder] 754 | uint32_t dirty; | ^~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:748:12: warning: ‘double rrllvm::LLVMExecutableModel::conversionFactor’ [-Wreorder] 748 | double conversionFactor; | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.cpp:270:1: warning: when initialized here [-Wreorder] 270 | LLVMExecutableModel::LLVMExecutableModel(std::istream& in, uint modelGeneratorOpt) : | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.cpp: In member function ‘virtual void rrllvm::LLVMExecutableModel::reset(int)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.cpp:842:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 842 | for (int gid = 0; gid < modelData->numIndGlobalParameters; ++gid) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.cpp: In member function ‘virtual void rrllvm::LLVMExecutableModel::getIds(int, std::__cxx11::list >&)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.cpp:1212:30: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1212 | for (size_t i = 0; i < getNumFloatingSpecies(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.cpp:1223:30: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1223 | for (size_t i = 0; i < getNumFloatingSpecies(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.cpp:1233:30: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1233 | for (size_t i = 0; i < getNumBoundarySpecies(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.cpp:1243:30: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1243 | for (size_t s = 0; s < getNumIndFloatingSpecies(); ++s) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.cpp:1245:34: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1245 | for (size_t r = 0; r < getNumReactions(); ++r) { | ~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.cpp:1256:30: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1256 | for (size_t r = 0; r < getNumReactions(); ++r) { | ~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.cpp:1258:36: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1258 | for (size_t fs = 0; fs < getNumFloatingSpecies(); ++fs) { | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.cpp:1262:36: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1262 | for (size_t bs = 0; bs < getNumBoundarySpecies(); bs++) { | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.cpp:1270:34: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1270 | for (size_t g = 0; g < getNumGlobalParameters(); g++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.cpp:1325:30: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1325 | for (size_t r = 0; r < getNumReactions(); ++r) { | ~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.cpp:1327:36: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1327 | for (size_t bs = 0; bs < getNumBoundarySpecies(); bs++) { | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.cpp:1335:34: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1335 | for (size_t g = 0; g < getNumGlobalParameters(); g++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.cpp:1344:32: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1344 | for (size_t fs = 0; fs < getNumFloatingSpecies(); ++fs) { | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.cpp:1346:36: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1346 | for (size_t bs = 0; bs < getNumBoundarySpecies(); bs++) { | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.cpp:1354:34: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1354 | for (size_t g = 0; g < getNumGlobalParameters(); g++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.cpp:1366:30: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1366 | for (size_t r = 0; r < getNumReactions(); ++r) { | ~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.cpp:1368:36: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1368 | for (size_t bs = 0; bs < getNumBoundarySpecies(); bs++) { | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.cpp:1376:34: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1376 | for (size_t g = 0; g < getNumGlobalParameters(); g++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.cpp:1385:32: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1385 | for (size_t fs = 0; fs < getNumFloatingSpecies(); ++fs) { | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.cpp:1387:36: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1387 | for (size_t bs = 0; bs < getNumBoundarySpecies(); bs++) { | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.cpp:1395:34: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1395 | for (size_t g = 0; g < getNumGlobalParameters(); g++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.cpp: In member function ‘virtual int rrllvm::LLVMExecutableModel::setBoundarySpeciesAmounts(size_t, const int*, const double*, bool)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.cpp:1839:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 1839 | for (int i = 0; i < len; ++i) | ~~^~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.cpp: In member function ‘virtual int rrllvm::LLVMExecutableModel::setFloatingSpeciesAmounts(size_t, const int*, const double*, bool)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.cpp:1986:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 1986 | for (int i = 0; i < len; ++i) | ~~^~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.cpp: In member function ‘virtual int rrllvm::LLVMExecutableModel::setFloatingSpeciesConcentrations(size_t, const int*, const double*)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.cpp:2042:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 2042 | for (int i = 0; i < len; ++i) | ~~^~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.cpp: In member function ‘virtual int rrllvm::LLVMExecutableModel::setGlobalParameterValues(size_t, const int*, const double*, bool)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.cpp:2145:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 2145 | for (int i = 0; i < len; ++i) | ~~^~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.cpp: In member function ‘virtual int rrllvm::LLVMExecutableModel::getReactionRates(size_t, const int*, double*)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.cpp:2194:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 2194 | for (int i = 0; i < len; ++i) | ~~^~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.cpp:2197:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 2197 | if (j < modelData->numReactions) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.cpp: In member function ‘virtual int rrllvm::LLVMExecutableModel::getEventTriggers(size_t, const int*, unsigned char*)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.cpp:2511:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 2511 | for (int i = 0; i < len; ++i) | ~~^~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.cpp:2514:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 2514 | if (j < modelData->numEvents) | ~~^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib64/llvm13/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm13/include/llvm/PassSupport.h:29, from /usr/lib64/llvm13/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:25: /usr/lib64/llvm13/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/llvm13/include/llvm/Transforms/InstCombine/InstCombineWorklist.h:120:22: required from here 120 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm13/include/llvm/ADT/DenseMap.h:128:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 128 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.cpp:16: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.cpp:325:19: required from here 325 | rr::loadBinary(in, tieBreakMap); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:38: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions 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.9.2-build/libroadrunner-2.9.2/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [174/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelGenerator.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelGenerator.cpp:10: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 10 | #pragma hdrstop /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelGenerator.cpp: In function ‘void rrllvm::codeGeneration(ModelGeneratorContext&, uint32_t)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelGenerator.cpp:131:19: warning: variable ‘setBoundarySpeciesAmountIR’ set but not used [-Wunused-but-set-variable=] 131 | Function* setBoundarySpeciesAmountIR = nullptr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelGenerator.cpp:132:19: warning: variable ‘setBoundarySpeciesConcentrationIR’ set but not used [-Wunused-but-set-variable=] 132 | Function* setBoundarySpeciesConcentrationIR; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelGenerator.cpp:133:19: warning: variable ‘setFloatingSpeciesConcentrationIR’ set but not used [-Wunused-but-set-variable=] 133 | Function* setFloatingSpeciesConcentrationIR = nullptr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelGenerator.cpp:134:19: warning: variable ‘setCompartmentVolumeIR’ set but not used [-Wunused-but-set-variable=] 134 | Function* setCompartmentVolumeIR = nullptr; | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelGenerator.cpp:135:19: warning: variable ‘setFloatingSpeciesAmountIR’ set but not used [-Wunused-but-set-variable=] 135 | Function* setFloatingSpeciesAmountIR = nullptr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelGenerator.cpp:136:19: warning: variable ‘setGlobalParameterIR’ set but not used [-Wunused-but-set-variable=] 136 | Function* setGlobalParameterIR = nullptr; | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelGenerator.cpp:137:19: warning: variable ‘getFloatingSpeciesInitConcentrationsIR’ set but not used [-Wunused-but-set-variable=] 137 | Function* getFloatingSpeciesInitConcentrationsIR = nullptr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelGenerator.cpp:138:19: warning: variable ‘setFloatingSpeciesInitConcentrationsIR’ set but not used [-Wunused-but-set-variable=] 138 | Function* setFloatingSpeciesInitConcentrationsIR = nullptr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelGenerator.cpp:139:19: warning: variable ‘getFloatingSpeciesInitAmountsIR’ set but not used [-Wunused-but-set-variable=] 139 | Function* getFloatingSpeciesInitAmountsIR = nullptr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelGenerator.cpp:140:19: warning: variable ‘setFloatingSpeciesInitAmountsIR’ set but not used [-Wunused-but-set-variable=] 140 | Function* setFloatingSpeciesInitAmountsIR = nullptr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelGenerator.cpp:141:19: warning: variable ‘getBoundarySpeciesInitConcentrationsIR’ set but not used [-Wunused-but-set-variable=] 141 | Function* getBoundarySpeciesInitConcentrationsIR = nullptr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelGenerator.cpp:142:19: warning: variable ‘setBoundarySpeciesInitConcentrationsIR’ set but not used [-Wunused-but-set-variable=] 142 | Function* setBoundarySpeciesInitConcentrationsIR = nullptr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelGenerator.cpp:143:19: warning: variable ‘getBoundarySpeciesInitAmountsIR’ set but not used [-Wunused-but-set-variable=] 143 | Function* getBoundarySpeciesInitAmountsIR = nullptr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelGenerator.cpp:144:19: warning: variable ‘setBoundarySpeciesInitAmountsIR’ set but not used [-Wunused-but-set-variable=] 144 | Function* setBoundarySpeciesInitAmountsIR = nullptr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelGenerator.cpp:145:19: warning: variable ‘getCompartmentInitVolumesIR’ set but not used [-Wunused-but-set-variable=] 145 | Function* getCompartmentInitVolumesIR = nullptr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelGenerator.cpp:146:19: warning: variable ‘setCompartmentInitVolumesIR’ set but not used [-Wunused-but-set-variable=] 146 | Function* setCompartmentInitVolumesIR = nullptr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelGenerator.cpp:147:19: warning: variable ‘getGlobalParameterInitValueIR’ set but not used [-Wunused-but-set-variable=] 147 | Function* getGlobalParameterInitValueIR = nullptr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelGenerator.cpp:148:19: warning: variable ‘setGlobalParameterInitValueIR’ set but not used [-Wunused-but-set-variable=] 148 | Function* setGlobalParameterInitValueIR = nullptr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelGenerator.cpp: In static member function ‘static rr::ExecutableModel* rrllvm::LLVMModelGenerator::regenerateModel(rr::ExecutableModel*, SBMLDocument*, uint)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelGenerator.cpp:372:41: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 372 | if (index >= 0 && index < newModel->modelData->numInitGlobalParameters) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib64/llvm13/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm13/include/llvm/PassSupport.h:29, from /usr/lib64/llvm13/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:25, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelGenerator.h:19, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelGenerator.cpp:14: /usr/lib64/llvm13/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/llvm13/include/llvm/Transforms/InstCombine/InstCombineWorklist.h:120:22: required from here 120 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm13/include/llvm/ADT/DenseMap.h:128:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 128 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelGenerator.cpp:22: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:38: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions 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.9.2-build/libroadrunner-2.9.2/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [175/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/LoadSymbolResolverBase.cpp In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LoadSymbolResolverBase.cpp:7: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LoadSymbolResolverBase.h: In constructor ‘rrllvm::LoadSymbolResolverBase::LoadSymbolResolverBase(const rrllvm::ModelGeneratorContext&, llvm::Value*)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LoadSymbolResolverBase.h:81:18: warning: ‘rrllvm::LoadSymbolResolverBase::modelData’ will be initialized after [-Wreorder] 81 | llvm::Value *modelData; | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LoadSymbolResolverBase.h:78:33: warning: ‘const rrllvm::LLVMModelDataSymbols& rrllvm::LoadSymbolResolverBase::modelDataSymbols’ [-Wreorder] 78 | const LLVMModelDataSymbols &modelDataSymbols; | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LoadSymbolResolverBase.cpp:24:1: warning: when initialized here [-Wreorder] 24 | LoadSymbolResolverBase::LoadSymbolResolverBase( | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib64/llvm13/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm13/include/llvm/PassSupport.h:29, from /usr/lib64/llvm13/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/CodeGen.h:11, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LoadSymbolResolverBase.h:11: /usr/lib64/llvm13/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/llvm13/include/llvm/Transforms/InstCombine/InstCombineWorklist.h:120:22: required from here 120 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm13/include/llvm/ADT/DenseMap.h:128:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 128 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ [176/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelSymbols.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelSymbols.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelSymbols.cpp:8: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelSymbols.h: In constructor ‘rrllvm::LLVMModelSymbols::LLVMModelSymbols(const Model*, const rrllvm::LLVMModelDataSymbols&)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelSymbols.h:253:33: warning: ‘rrllvm::LLVMModelSymbols::symbols’ will be initialized after [-Wreorder] 253 | const LLVMModelDataSymbols &symbols; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelSymbols.h:248:34: warning: ‘std::vector rrllvm::LLVMModelSymbols::reactions’ [-Wreorder] 248 | std::vector reactions; | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelSymbols.cpp: In member function ‘virtual bool rrllvm::LLVMModelSymbols::visit(const Reaction&)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelSymbols.cpp:243:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 243 | for (int i = 0; i < products->size(); i++) | ~~^~~~~~~~~~~~~~~~~~ In file included from /usr/lib64/llvm13/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm13/include/llvm/PassSupport.h:29, from /usr/lib64/llvm13/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/ModelDataIRBuilder.h:14, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelSymbols.h:13: /usr/lib64/llvm13/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/llvm13/include/llvm/Transforms/InstCombine/InstCombineWorklist.h:120:22: required from here 120 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm13/include/llvm/ADT/DenseMap.h:128:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 128 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMModelSymbols.cpp:12: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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++) { | ~~^~~~~~~ [177/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/MCJit.cpp In file included from /usr/lib64/llvm13/include/llvm/Analysis/TargetLibraryInfo.h:13, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/Jit.h:22, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/MCJit.h:9, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/MCJit.cpp:5: /usr/lib64/llvm13/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/llvm13/include/llvm/Transforms/InstCombine/InstCombineWorklist.h:120:22: required from here 120 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm13/include/llvm/ADT/DenseMap.h:128:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 128 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:39, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/ModelResources.h:12, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/MCJit.cpp:10: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:38: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions 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.9.2-build/libroadrunner-2.9.2/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [178/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/ModelDataIRBuilder.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/ModelDataIRBuilder.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/ModelDataIRBuilder.cpp:8: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/ModelDataIRBuilder.h: In constructor ‘rrllvm::LLVMModelDataIRBuilderTesting::LLVMModelDataIRBuilderTesting(const rrllvm::LLVMModelDataSymbols&, llvm::IRBuilder<>&)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/ModelDataIRBuilder.h:397:37: warning: ‘rrllvm::LLVMModelDataIRBuilderTesting::symbols’ will be initialized after [-Wreorder] 397 | LLVMModelDataSymbols const& symbols; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/ModelDataIRBuilder.h:395:28: warning: ‘llvm::IRBuilder<>& rrllvm::LLVMModelDataIRBuilderTesting::builder’ [-Wreorder] 395 | llvm::IRBuilder<>& builder; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/ModelDataIRBuilder.cpp:777:1: warning: when initialized here [-Wreorder] 777 | LLVMModelDataIRBuilderTesting::LLVMModelDataIRBuilderTesting(LLVMModelDataSymbols const& symbols, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib64/llvm13/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm13/include/llvm/PassSupport.h:29, from /usr/lib64/llvm13/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/ModelDataIRBuilder.h:14: /usr/lib64/llvm13/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/llvm13/include/llvm/Transforms/InstCombine/InstCombineWorklist.h:120:22: required from here 120 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm13/include/llvm/ADT/DenseMap.h:128:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 128 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/ModelDataIRBuilder.cpp: At global scope: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/ModelDataIRBuilder.cpp:74:13: warning: ‘bool rrllvm::isArray(ModelDataFields)’ defined but not used [-Wunused-function] 74 | static bool isArray(ModelDataFields f) | ^~~~~~~ [179/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/ModelDataSymbolResolver.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/ModelDataSymbolResolver.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop In file included from /usr/lib64/llvm13/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm13/include/llvm/PassSupport.h:29, from /usr/lib64/llvm13/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/CodeGen.h:11, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LoadSymbolResolverBase.h:11, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/ModelDataSymbolResolver.h:11, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/ModelDataSymbolResolver.cpp:8: /usr/lib64/llvm13/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/llvm13/include/llvm/Transforms/InstCombine/InstCombineWorklist.h:120:22: required from here 120 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm13/include/llvm/ADT/DenseMap.h:128:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 128 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ [180/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/ModelGeneratorContext.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/ModelGeneratorContext.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/ModelGeneratorContext.cpp:9: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/ModelGeneratorContext.h: In constructor ‘rrllvm::ModelGeneratorContext::ModelGeneratorContext(const SBMLDocument*, unsigned int, rrllvm::Jit*)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/ModelGeneratorContext.h:210:18: warning: ‘rrllvm::ModelGeneratorContext::options’ will be initialized after [-Wreorder] 210 | unsigned options; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/ModelGeneratorContext.h:208:17: warning: ‘rrllvm::Random* rrllvm::ModelGeneratorContext::random’ [-Wreorder] 208 | Random *random; | ^~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/ModelGeneratorContext.cpp:107:5: warning: when initialized here [-Wreorder] 107 | ModelGeneratorContext::ModelGeneratorContext(const ::SBMLDocument* doc_, unsigned options, | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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/llvm13/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm13/include/llvm/PassSupport.h:29, from /usr/lib64/llvm13/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/ModelGeneratorContext.h:14: /usr/lib64/llvm13/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/llvm13/include/llvm/Transforms/InstCombine/InstCombineWorklist.h:120:22: required from here 120 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm13/include/llvm/ADT/DenseMap.h:128:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 128 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/ModelGeneratorContext.cpp:19: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/ModelGeneratorContext.cpp: At global scope: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:39, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/ModelResources.h:12, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/ModelGeneratorContext.cpp:59: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:38: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions 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.9.2-build/libroadrunner-2.9.2/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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) { | ^~~~~~~~~~~~~~~~~~~~~~~~~ [181/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/ModelInitialValueSymbolResolver.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/ModelInitialValueSymbolResolver.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop In file included from /usr/lib64/llvm13/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm13/include/llvm/PassSupport.h:29, from /usr/lib64/llvm13/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/CodeGen.h:11, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LoadSymbolResolverBase.h:11, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/ModelInitialValueSymbolResolver.h:11, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/ModelInitialValueSymbolResolver.cpp:8: /usr/lib64/llvm13/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/llvm13/include/llvm/Transforms/InstCombine/InstCombineWorklist.h:120:22: required from here 120 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm13/include/llvm/ADT/DenseMap.h:128:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 128 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ [182/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/SBMLModelObjectCache.cpp [183/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/SBMLSupportFunctions.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SBMLSupportFunctions.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop [184/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/ModelResources.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/ModelResources.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/ModelResources.cpp:9: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/ModelResources.h: In constructor ‘rrllvm::ModelResources::ModelResources()’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/ModelResources.h:99:48: warning: ‘rrllvm::ModelResources::executionEngine’ will be initialized after [-Wreorder] 99 | std::unique_ptr executionEngine; | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/ModelResources.h:98:44: warning: ‘std::unique_ptr rrllvm::ModelResources::context’ [-Wreorder] 98 | std::unique_ptr context; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/ModelResources.cpp:58:5: warning: when initialized here [-Wreorder] 58 | ModelResources::ModelResources() | ^~~~~~~~~~~~~~ In file included from /usr/lib64/llvm13/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm13/include/llvm/PassSupport.h:29, from /usr/lib64/llvm13/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:25, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/ModelResources.h:12: /usr/lib64/llvm13/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/llvm13/include/llvm/Transforms/InstCombine/InstCombineWorklist.h:120:22: required from here 120 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm13/include/llvm/ADT/DenseMap.h:128:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 128 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/ModelResources.cpp:13: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:38: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions 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.9.2-build/libroadrunner-2.9.2/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions 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/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/SBMLInitialValueSymbolResolver.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SBMLInitialValueSymbolResolver.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop In file included from /usr/lib64/llvm13/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm13/include/llvm/PassSupport.h:29, from /usr/lib64/llvm13/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/CodeGen.h:11, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LoadSymbolResolverBase.h:11, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SBMLInitialValueSymbolResolver.h:11, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SBMLInitialValueSymbolResolver.cpp:8: /usr/lib64/llvm13/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/llvm13/include/llvm/Transforms/InstCombine/InstCombineWorklist.h:120:22: required from here 120 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm13/include/llvm/ADT/DenseMap.h:128:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 128 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ [186/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/Random.cpp In file included from /usr/lib64/llvm13/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm13/include/llvm/PassSupport.h:29, from /usr/lib64/llvm13/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/ModelGeneratorContext.h:14, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/Random.cpp:9: /usr/lib64/llvm13/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/llvm13/include/llvm/Transforms/InstCombine/InstCombineWorklist.h:120:22: required from here 120 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm13/include/llvm/ADT/DenseMap.h:128:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 128 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/Random.cpp:13: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrConfig.h:13, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/Random.cpp:12: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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: 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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/Random.cpp:62:64: required from here 62 | return Config::getValue(Config::RANDOM_SEED).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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: 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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/Random.cpp:62:64: required from here 62 | return Config::getValue(Config::RANDOM_SEED).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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: 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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/Random.cpp:62:64: required from here 62 | return Config::getValue(Config::RANDOM_SEED).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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: 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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/Random.cpp:62:64: required from here 62 | return Config::getValue(Config::RANDOM_SEED).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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: 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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/Random.cpp:62:64: required from here 62 | return Config::getValue(Config::RANDOM_SEED).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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: 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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/Random.cpp:62:64: required from here 62 | return Config::getValue(Config::RANDOM_SEED).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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: 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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/Random.cpp:62:64: required from here 62 | return Config::getValue(Config::RANDOM_SEED).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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: 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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/Random.cpp:62:64: required from here 62 | return Config::getValue(Config::RANDOM_SEED).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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: 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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/Random.cpp:62:64: required from here 62 | return Config::getValue(Config::RANDOM_SEED).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [187/215] /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.9.2-build/libroadrunner-2.9.2/wrappers/C/.. -I/usr/lib64/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/wrappers/C/rrArrayList.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrArrayList.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrArrayList.cpp: In member function ‘std::string rrc::ArrayList::GetString(const int&)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/wrappers/C/rrArrayList.cpp: In member function ‘rrc::StringList rrc::ArrayList::GetStringList(const int&)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/wrappers/C/rrArrayList.cpp: In member function ‘rrc::StringList rrc::ArrayList::GetStringList(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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++) | ~~^~~~~~~~~~~~~~ [188/215] /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.9.2-build/libroadrunner-2.9.2/wrappers/C/.. -I/usr/lib64/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/wrappers/C/rrcStringList.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrcStringList.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrcStringList.cpp: In member function ‘std::string& rrc::StringList::operator[](const int&)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/wrappers/C/rrcStringList.cpp: In member function ‘const std::string& rrc::StringList::operator[](const int&) const’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/wrappers/C/rrcStringList.cpp: In member function ‘std::string rrc::StringList::AsString(const std::string&) const’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/wrappers/C/rrcStringList.cpp: In member function ‘rrc::StringList rrc::StringList::operator-(const rrc::StringList&)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/wrappers/C/rrcStringList.cpp: In member function ‘void rrc::StringList::Append(const rrc::StringList&)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/wrappers/C/rrcStringList.cpp: In function ‘std::ostream& rrc::operator<<(std::ostream&, const StringList&)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/wrappers/C/rrcStringList.cpp:5: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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++) { | ~~^~~~~~~ [189/215] /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.9.2-build/libroadrunner-2.9.2/wrappers/C/.. -I/usr/lib64/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/wrappers/C/rrArrayListItemBase.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrArrayListItemBase.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop [190/215] /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.9.2-build/libroadrunner-2.9.2/wrappers/C/.. -I/usr/lib64/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/wrappers/C/rrArrayListItem.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrArrayListItem.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop [191/215] /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.9.2-build/libroadrunner-2.9.2/wrappers/C/.. -I/usr/lib64/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_logging_api.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_logging_api.cpp:7: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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++) { | ~~^~~~~~~ [192/215] /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.9.2-build/libroadrunner-2.9.2/wrappers/C/.. -I/usr/lib64/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_nom_api.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_nom_api.cpp:8: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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++) { | ~~^~~~~~~ [193/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValuesCodeGen.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValuesCodeGen.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop In file included from /usr/lib64/llvm13/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm13/include/llvm/PassSupport.h:29, from /usr/lib64/llvm13/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/ModelGeneratorContext.h:14, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/CodeGenBase.h:11, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValuesCodeGen.h:11, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValuesCodeGen.cpp:8: /usr/lib64/llvm13/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/llvm13/include/llvm/Transforms/InstCombine/InstCombineWorklist.h:120:22: required from here 120 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm13/include/llvm/ADT/DenseMap.h:128:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 128 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValuesCodeGen.cpp:32:90: required from here 32 | SetInitialValueCodeGenBase(mgc) | ^ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/CodeGenBase.h:108:20: warning: ‘rrllvm::CodeGenBase::options’ will be initialized after [-Wreorder] 108 | const unsigned options; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/CodeGenBase.h:98:21: warning: ‘llvm::Function* rrllvm::CodeGenBase::function’ [-Wreorder] 98 | llvm::Function *function; | ^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValuesCodeGen.h:16: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [194/215] /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/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValuesCodeGen.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValuesCodeGen.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop In file included from /usr/lib64/llvm13/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm13/include/llvm/PassSupport.h:29, from /usr/lib64/llvm13/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/ModelGeneratorContext.h:14, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/CodeGenBase.h:11, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValuesCodeGen.h:11, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValuesCodeGen.cpp:8: /usr/lib64/llvm13/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/llvm13/include/llvm/Transforms/InstCombine/InstCombineWorklist.h:120:22: required from here 120 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm13/include/llvm/ADT/DenseMap.h:128:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 128 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValuesCodeGen.cpp:57:71: required from here 57 | SetValueCodeGenBase(mgc) | ^ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/CodeGenBase.h:108:20: warning: ‘rrllvm::CodeGenBase::options’ will be initialized after [-Wreorder] 108 | const unsigned options; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/CodeGenBase.h:98:21: warning: ‘llvm::Function* rrllvm::CodeGenBase::function’ [-Wreorder] 98 | llvm::Function *function; | ^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValuesCodeGen.h:16: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [195/215] /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.9.2-build/libroadrunner-2.9.2/wrappers/C/.. -I/usr/lib64/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_libstruct_api.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_libstruct_api.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_libstruct_api.cpp: In function ‘rrc::RRDoubleMatrix* rrc::getEigenvaluesMatrix(RRDoubleMatrixPtr)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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++) | ~~^~~~~~~~~~~~~ [196/215] /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.9.2-build/libroadrunner-2.9.2/wrappers/C/.. -I/usr/lib64/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_cpp_support.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_cpp_support.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_cpp_support.cpp: In function ‘ls::DoubleMatrix* rrc::createMatrix(RRDoubleMatrixPtr)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_cpp_support.cpp: In function ‘std::vector > rrc::createVector(const RRVector*)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_cpp_support.cpp: In function ‘rrc::RRList* rrc::createArrayList(const ArrayList&)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_cpp_support.cpp: In function ‘rrc::RRCData* rrc::createRRCData(const rr::RoadRunner&)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_cpp_support.cpp:10: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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/215] /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.9.2-build/libroadrunner-2.9.2/wrappers/C/.. -I/usr/lib64/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/wrappers/C/rrcStringList.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrcStringList.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrcStringList.cpp: In member function ‘std::string& rrc::StringList::operator[](const int&)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/wrappers/C/rrcStringList.cpp: In member function ‘const std::string& rrc::StringList::operator[](const int&) const’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/wrappers/C/rrcStringList.cpp: In member function ‘std::string rrc::StringList::AsString(const std::string&) const’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/wrappers/C/rrcStringList.cpp: In member function ‘rrc::StringList rrc::StringList::operator-(const rrc::StringList&)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/wrappers/C/rrcStringList.cpp: In member function ‘void rrc::StringList::Append(const rrc::StringList&)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/wrappers/C/rrcStringList.cpp: In function ‘std::ostream& rrc::operator<<(std::ostream&, const StringList&)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/wrappers/C/rrcStringList.cpp:5: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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++) { | ~~^~~~~~~ [198/215] /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.9.2-build/libroadrunner-2.9.2/wrappers/C/.. -I/usr/lib64/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_utilities.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_utilities.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_utilities.cpp:14: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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/215] /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.9.2-build/libroadrunner-2.9.2/wrappers/C/.. -I/usr/lib64/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/wrappers/C/rrArrayList.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrArrayList.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrArrayList.cpp: In member function ‘std::string rrc::ArrayList::GetString(const int&)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/wrappers/C/rrArrayList.cpp: In member function ‘rrc::StringList rrc::ArrayList::GetStringList(const int&)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/wrappers/C/rrArrayList.cpp: In member function ‘rrc::StringList rrc::ArrayList::GetStringList(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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++) | ~~^~~~~~~~~~~~~~ [200/215] /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.9.2-build/libroadrunner-2.9.2/wrappers/C/.. -I/usr/lib64/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/wrappers/C/rrArrayListItemBase.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrArrayListItemBase.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop [201/215] /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.9.2-build/libroadrunner-2.9.2/wrappers/C/.. -I/usr/lib64/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/wrappers/C/rrArrayListItem.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrArrayListItem.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop [202/215] /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.9.2-build/libroadrunner-2.9.2/wrappers/C/.. -I/usr/lib64/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_logging_api.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_logging_api.cpp:7: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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++) { | ~~^~~~~~~ [203/215] /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.9.2-build/libroadrunner-2.9.2/wrappers/C/.. -I/usr/lib64/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_nom_api.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_nom_api.cpp:8: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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++) { | ~~^~~~~~~ [204/215] /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.9.2-build/libroadrunner-2.9.2/wrappers/C/.. -I/usr/lib64/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_libstruct_api.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_libstruct_api.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_libstruct_api.cpp: In function ‘rrc::RRDoubleMatrix* rrc::getEigenvaluesMatrix(RRDoubleMatrixPtr)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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++) | ~~^~~~~~~~~~~~~ [205/215] /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.9.2-build/libroadrunner-2.9.2/wrappers/C/.. -I/usr/lib64/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_cpp_support.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_cpp_support.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_cpp_support.cpp: In function ‘ls::DoubleMatrix* rrc::createMatrix(RRDoubleMatrixPtr)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_cpp_support.cpp: In function ‘std::vector > rrc::createVector(const RRVector*)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_cpp_support.cpp: In function ‘rrc::RRList* rrc::createArrayList(const ArrayList&)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_cpp_support.cpp: In function ‘rrc::RRCData* rrc::createRRCData(const rr::RoadRunner&)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_cpp_support.cpp:10: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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++) { | ~~^~~~~~~ [206/215] /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.9.2-build/libroadrunner-2.9.2/wrappers/C/.. -I/usr/lib64/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_utilities.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_utilities.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_utilities.cpp:14: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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++) { | ~~^~~~~~~ [207/215] /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.9.2-build/libroadrunner-2.9.2/wrappers/Python/roadrunner -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/Python/include -I/usr/lib64/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/redhat-linux-build/source -I/usr/include/python3.14 -I/usr/lib64/python3.14/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.9.2-build/libroadrunner-2.9.2/wrappers/Python/roadrunner/PyUtils.cpp In file included from /usr/include/python3.14/pyconfig.h:6, from /usr/include/python3.14/Python.h:14, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/Python/roadrunner/PyUtils.h:15, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/Python/roadrunner/PyUtils.cpp:60: /usr/include/python3.14/pyconfig-64.h:2007:9: warning: ‘_POSIX_C_SOURCE’ redefined 2007 | #define _POSIX_C_SOURCE 200809L | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/16/x86_64-redhat-linux/bits/os_defines.h:39, from /usr/include/c++/16/x86_64-redhat-linux/bits/c++config.h:2677, from /usr/include/c++/16/exception:37, from /usr/include/c++/16/stdexcept:40, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/Python/roadrunner/PyUtils.cpp:50: /usr/include/features.h:319:10: note: this is the location of the previous definition 319 | # define _POSIX_C_SOURCE 202405L | ^~~~~~~~~~~~~~~ /usr/include/python3.14/pyconfig-64.h:2043:9: warning: ‘_XOPEN_SOURCE’ redefined 2043 | #define _XOPEN_SOURCE 700 | ^~~~~~~~~~~~~ /usr/include/features.h:234:10: note: this is the location of the previous definition 234 | # define _XOPEN_SOURCE 800 | ^~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/Python/roadrunner/PyUtils.h:18: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Matrix.h:39:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Matrix.h:39:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Matrix.h:45:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 45 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Matrix.h:45:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/Python/roadrunner/PyUtils.cpp: In function ‘PyObject* rr::Variant_to_py(const Setting&)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/Python/roadrunner/PyUtils.cpp:197:19: warning: unused variable ‘result’ [-Wunused-variable] 197 | PyObject *result = nullptr; | ^~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/Python/roadrunner/PyUtils.cpp: In function ‘PyObject* rr::dictionary_items(const Dictionary*)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/Python/roadrunner/PyUtils.cpp:393:23: warning: unused variable ‘pyStr’ [-Wunused-variable] 393 | PyObject *pyStr = Variant_to_py(dict->getItem(key)); | ^~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/Python/roadrunner/PyUtils.cpp: In function ‘PyObject* rr::doublematrix_to_py(const ls::DoubleMatrix*, bool, bool)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/Python/roadrunner/PyUtils.cpp:468:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 468 | for (int i = 0; i < names.size(); ++i) { | ~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/Python/roadrunner/PyUtils.cpp: In function ‘PyObject* rr::NammedArray_subscript(NamedArrayObject*, PyObject*)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/Python/roadrunner/PyUtils.cpp:712:30: warning: unused variable ‘rows’ [-Wunused-variable] 712 | npy_intp rows = PyArray_DIM((PyArrayObject*)self, 0); | ^~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/Python/roadrunner/PyUtils.cpp: In member function ‘PyObject* rr::Matrix3DToNumpy::convertIndex()’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/Python/roadrunner/PyUtils.cpp:1840:24: warning: unused variable ‘arr’ [-Wunused-variable] 1840 | PyArrayObject *arr = reinterpret_cast(result); | ^~~ In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/Python/roadrunner/PyUtils.h:14: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/Python/roadrunner/PyUtils.cpp:1182:38: required from here 1182 | bool named = Config::getValue(Config::PYTHON_ENABLE_NAMED_MATRIX); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/Python/roadrunner/PyUtils.cpp:1182:38: required from here 1182 | bool named = Config::getValue(Config::PYTHON_ENABLE_NAMED_MATRIX); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/Python/roadrunner/PyUtils.cpp:1182:38: required from here 1182 | bool named = Config::getValue(Config::PYTHON_ENABLE_NAMED_MATRIX); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/Python/roadrunner/PyUtils.cpp:1182:38: required from here 1182 | bool named = Config::getValue(Config::PYTHON_ENABLE_NAMED_MATRIX); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/Python/roadrunner/PyUtils.cpp:1182:38: required from here 1182 | bool named = Config::getValue(Config::PYTHON_ENABLE_NAMED_MATRIX); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/Python/roadrunner/PyUtils.cpp:1182:38: required from here 1182 | bool named = Config::getValue(Config::PYTHON_ENABLE_NAMED_MATRIX); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/Python/roadrunner/PyUtils.cpp:1182:38: required from here 1182 | bool named = Config::getValue(Config::PYTHON_ENABLE_NAMED_MATRIX); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/Python/roadrunner/PyUtils.cpp:1182:38: required from here 1182 | bool named = Config::getValue(Config::PYTHON_ENABLE_NAMED_MATRIX); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/Python/roadrunner/PyUtils.cpp:1182:38: required from here 1182 | bool named = Config::getValue(Config::PYTHON_ENABLE_NAMED_MATRIX); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [208/215] /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.9.2-build/libroadrunner-2.9.2/wrappers/Python/roadrunner -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/Python/include -I/usr/lib64/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/redhat-linux-build/source -I/usr/include/python3.14 -I/usr/lib64/python3.14/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.9.2-build/libroadrunner-2.9.2/wrappers/Python/roadrunner/PyLoggerStream.cpp In file included from /usr/include/python3.14/pyconfig.h:6, from /usr/include/python3.14/Python.h:14, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/Python/roadrunner/PyLoggerStream.h:19, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/Python/roadrunner/PyLoggerStream.cpp:8: /usr/include/python3.14/pyconfig-64.h:2007:9: warning: ‘_POSIX_C_SOURCE’ redefined 2007 | #define _POSIX_C_SOURCE 200809L | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/16/x86_64-redhat-linux/bits/os_defines.h:39, from /usr/include/c++/16/x86_64-redhat-linux/bits/c++config.h:2677, from /usr/include/c++/16/cstdio:46, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/Python/roadrunner/PyLoggerStream.h:11: /usr/include/features.h:319:10: note: this is the location of the previous definition 319 | # define _POSIX_C_SOURCE 202405L | ^~~~~~~~~~~~~~~ /usr/include/python3.14/pyconfig-64.h:2043:9: warning: ‘_XOPEN_SOURCE’ redefined 2043 | #define _XOPEN_SOURCE 700 | ^~~~~~~~~~~~~ /usr/include/features.h:234:10: note: this is the location of the previous definition 234 | # define _XOPEN_SOURCE 800 | ^~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/Python/roadrunner/PyUtils.h:18, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/Python/roadrunner/PyLoggerStream.cpp:9: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Matrix.h:39:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Matrix.h:39:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Matrix.h:45:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 45 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Matrix.h:45:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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); | ^~~~~~~~~~~~~~~~~~~~~~~~ [209/215] /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.9.2-build/libroadrunner-2.9.2/wrappers/C/.. -I/usr/lib64/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:43: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 43 | #pragma hdrstop In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Matrix3D.h:8, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/SensitivitySolver.h:9, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/ForwardSensitivitySolver.h:10, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/SensitivitySolverFactory.h:9, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:67: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Matrix.h:39:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Matrix.h:39:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Matrix.h:45:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 45 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Matrix.h:45:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp: In function ‘rrc::RRStringArray* rrc::getTimeCourseSelectionList(RRHandle)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:649:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 649 | for(int i = 0; i < selections.size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp: In function ‘rrc::RRStringArray* rrc::getSteadyStateSelectionList(RRHandle)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:1467:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1467 | for(int i = 0; i < ss.size(); ++i) | ~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp: In function ‘rrc::RRDoubleMatrix* rrc::getEigenvalues(RRHandle)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:1516:28: warning: comparison of integer expressions of different signedness: ‘u_int’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1516 | for(u_int row = 0; row < matrix->RSize; row++) | ~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp: In function ‘int rrc::getCurrentIntegratorParameterDoubleArray(RRHandle, const char*, double**, int*)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:2515:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2515 | for (int i = 0; i < v.size(); i++) { | ~~^~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp: In function ‘rrc::ArrayList rrc::RoadRunner_getUnscaledFluxControlCoefficientIds(rr::RoadRunner*)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:2960:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2960 | for(int i = 0; i < oReactions.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:2968:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2968 | for(int i = 0; i < oParameters.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:2973:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2973 | for(int i = 0; i < oBoundary.size(); i++) | ~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:2978:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2978 | for(int i = 0; i < oConservation.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp: In function ‘rrc::ArrayList rrc::sel_getFluxControlCoefficientIds(rr::RoadRunner*)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:3093:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3093 | for(int i = 0; i < oReactions.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:3101:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3101 | for(int i = 0; i < oParameters.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:3106:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3106 | for(int i = 0; i < oBoundary.size(); i++) | ~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:3111:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3111 | for(int i = 0; i < oConservation.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp: In function ‘std::vector > rrc::sel_getBoundarySpeciesAmountIds(rr::RoadRunner*)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:3171:28: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3171 | for(int item = 0; item < list.size(); item++)// (object item in floatingSpeciesNames) | ~~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp: In function ‘std::vector > rrc::sel_getBoundarySpeciesConcIds(rr::RoadRunner*)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:3184:28: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3184 | for(int item = 0; item < list.size(); item++)// (object item in floatingSpeciesNames) | ~~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp: In function ‘rrc::ArrayList rrc::sel_getConcentrationControlCoefficientIds(rr::RoadRunner*)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:3201:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3201 | for(int i = 0; i < oFloating.size(); i++) | ~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:3208:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3208 | for(int i = 0; i < oParameters.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:3213:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3213 | for(int i = 0; i < oBoundary.size(); i++) | ~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:3218:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3218 | for(int i = 0; i < oConservation.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp: In function ‘rrc::ArrayList rrc::sel_getUnscaledConcentrationControlCoefficientIds(rr::RoadRunner*)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:3239:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3239 | for(int i = 0; i < oFloating.size(); i++) | ~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:3246:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3246 | for(int i = 0; i < oParameters.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:3251:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3251 | for(int i = 0; i < oBoundary.size(); i++) | ~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:3256:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3256 | for(int i = 0; i < oConservation.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp: In function ‘rrc::ArrayList rrc::sel_getElasticityCoefficientIds(rr::RoadRunner*)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:3278:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3278 | for(int i = 0; i < reactionNames.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:3285:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3285 | for(int j = 0; j < floatingSpeciesNames.size(); j++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:3290:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3290 | for(int j = 0; j < boundarySpeciesNames.size(); j++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:3295:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3295 | for(int j = 0; j < globalParameterNames.size(); j++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:3300:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3300 | for(int j = 0; j < conservationNames.size(); j++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp: In function ‘rrc::ArrayList rrc::sel_getUnscaledElasticityCoefficientIds(rr::RoadRunner*)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:3322:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3322 | for(int i = 0; i < oReactions.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:3329:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3329 | for(int j = 0; j < oFloating.size(); j++) | ~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:3335:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3335 | for(int j = 0; j < oBoundary.size(); j++) | ~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:3341:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3341 | for(int j = 0; j < oGlobalParameters.size(); j++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:3347:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3347 | for(int j = 0; j < oConservation.size(); j++) | ~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp: In function ‘std::vector > rrc::sel_getFloatingSpeciesConcSymbols(rr::RoadRunner*)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:3375:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3375 | for(int i = 0; i < ids.size(); i++) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp: In function ‘std::vector > rrc::sel_getBoundarySpeciesConcSymbols(rr::RoadRunner*)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:3389:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3389 | for(int i = 0; i < ids.size(); i++) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp: In function ‘rrc::RRCData* rrc::gillespie(RRHandle)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:3415:26: warning: unused variable ‘o’ [-Wunused-variable] 3415 | SimulateOptions& o = r->getSimulateOptions(); | ^ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp: In function ‘rrc::RRCData* rrc::gillespieOnGrid(RRHandle)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:3436:26: warning: unused variable ‘o’ [-Wunused-variable] 3436 | SimulateOptions& o = r->getSimulateOptions(); | ^ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp: In function ‘rrc::RRCData* rrc::gillespieMeanOnGrid(RRHandle, int)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:3472:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 3472 | for (int row = 0; row < reference.RSize(); row++) { | ~~~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:3473:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 3473 | for (int col = 0; col < reference.CSize(); col++) { | ~~~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:3494:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3494 | for (int i = 0; i < selections.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp: In function ‘rrc::RRCData* rrc::gillespieMeanSDOnGrid(RRHandle, int)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:3540:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 3540 | for (int row = 0; row < reference.RSize(); row++) { | ~~~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:3541:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 3541 | for (int col = 0; col < reference.CSize(); col++) { | ~~~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:3565:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3565 | for (int i = 0; i < selections.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:56: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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/llvm13/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm13/include/llvm/PassSupport.h:29, from /usr/lib64/llvm13/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:25, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/ForwardSensitivitySolver.h:13: /usr/lib64/llvm13/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/llvm13/include/llvm/Transforms/InstCombine/InstCombineWorklist.h:120:22: required from here 120 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm13/include/llvm/ADT/DenseMap.h:128:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 128 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Dictionary.h:11, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunnerOptions.h:12, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.h:6, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:48: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:2399:45: required from here 2399 | return (int)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:2399:45: required from here 2399 | return (int)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:2399:45: required from here 2399 | return (int)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:2399:45: required from here 2399 | return (int)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:2399:45: required from here 2399 | return (int)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:2399:45: required from here 2399 | return (int)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:2399:45: required from here 2399 | return (int)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:2399:45: required from here 2399 | return (int)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:2399:45: required from here 2399 | return (int)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:2441:48: required from here 2441 | return (double)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:2441:48: required from here 2441 | return (double)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:2441:48: required from here 2441 | return (double)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:2441:48: required from here 2441 | return (double)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:2441:48: required from here 2441 | return (double)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:2441:48: required from here 2441 | return (double)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:2441:48: required from here 2441 | return (double)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:2441:48: required from here 2441 | return (double)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:2441:48: required from here 2441 | return (double)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:2487:46: required from here 2487 | return (bool)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:2487:46: required from here 2487 | return (bool)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:2487:46: required from here 2487 | return (bool)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:2487:46: required from here 2487 | return (bool)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:2487:46: required from here 2487 | return (bool)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:2487:46: required from here 2487 | return (bool)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:2487:46: required from here 2487 | return (bool)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:2487:46: required from here 2487 | return (bool)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:2487:46: required from here 2487 | return (bool)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h: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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:38: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions 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.9.2-build/libroadrunner-2.9.2/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp: At global scope: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:3179:16: warning: ‘std::vector > rrc::sel_getBoundarySpeciesConcIds(rr::RoadRunner*)’ defined but not used [-Wunused-function] 3179 | vector sel_getBoundarySpeciesConcIds(RoadRunner* rr) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:3166:16: warning: ‘std::vector > rrc::sel_getBoundarySpeciesAmountIds(rr::RoadRunner*)’ defined but not used [-Wunused-function] 3166 | vector sel_getBoundarySpeciesAmountIds(RoadRunner* rr) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [210/215] /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.9.2-build/libroadrunner-2.9.2/wrappers/C/.. -I/usr/lib64/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:43: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 43 | #pragma hdrstop In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Matrix3D.h:8, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/SensitivitySolver.h:9, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/ForwardSensitivitySolver.h:10, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/SensitivitySolverFactory.h:9, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:67: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Matrix.h:39:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Matrix.h:39:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Matrix.h:45:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 45 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Matrix.h:45:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp: In function ‘rrc::RRStringArray* rrc::getTimeCourseSelectionList(RRHandle)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:649:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 649 | for(int i = 0; i < selections.size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp: In function ‘rrc::RRStringArray* rrc::getSteadyStateSelectionList(RRHandle)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:1467:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1467 | for(int i = 0; i < ss.size(); ++i) | ~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp: In function ‘rrc::RRDoubleMatrix* rrc::getEigenvalues(RRHandle)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:1516:28: warning: comparison of integer expressions of different signedness: ‘u_int’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1516 | for(u_int row = 0; row < matrix->RSize; row++) | ~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp: In function ‘int rrc::getCurrentIntegratorParameterDoubleArray(RRHandle, const char*, double**, int*)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:2515:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2515 | for (int i = 0; i < v.size(); i++) { | ~~^~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp: In function ‘rrc::ArrayList rrc::RoadRunner_getUnscaledFluxControlCoefficientIds(rr::RoadRunner*)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:2960:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2960 | for(int i = 0; i < oReactions.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:2968:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2968 | for(int i = 0; i < oParameters.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:2973:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2973 | for(int i = 0; i < oBoundary.size(); i++) | ~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:2978:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2978 | for(int i = 0; i < oConservation.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp: In function ‘rrc::ArrayList rrc::sel_getFluxControlCoefficientIds(rr::RoadRunner*)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:3093:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3093 | for(int i = 0; i < oReactions.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:3101:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3101 | for(int i = 0; i < oParameters.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:3106:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3106 | for(int i = 0; i < oBoundary.size(); i++) | ~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:3111:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3111 | for(int i = 0; i < oConservation.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp: In function ‘std::vector > rrc::sel_getBoundarySpeciesAmountIds(rr::RoadRunner*)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:3171:28: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3171 | for(int item = 0; item < list.size(); item++)// (object item in floatingSpeciesNames) | ~~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp: In function ‘std::vector > rrc::sel_getBoundarySpeciesConcIds(rr::RoadRunner*)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:3184:28: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3184 | for(int item = 0; item < list.size(); item++)// (object item in floatingSpeciesNames) | ~~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp: In function ‘rrc::ArrayList rrc::sel_getConcentrationControlCoefficientIds(rr::RoadRunner*)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:3201:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3201 | for(int i = 0; i < oFloating.size(); i++) | ~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:3208:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3208 | for(int i = 0; i < oParameters.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:3213:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3213 | for(int i = 0; i < oBoundary.size(); i++) | ~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:3218:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3218 | for(int i = 0; i < oConservation.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp: In function ‘rrc::ArrayList rrc::sel_getUnscaledConcentrationControlCoefficientIds(rr::RoadRunner*)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:3239:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3239 | for(int i = 0; i < oFloating.size(); i++) | ~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:3246:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3246 | for(int i = 0; i < oParameters.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:3251:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3251 | for(int i = 0; i < oBoundary.size(); i++) | ~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:3256:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3256 | for(int i = 0; i < oConservation.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp: In function ‘rrc::ArrayList rrc::sel_getElasticityCoefficientIds(rr::RoadRunner*)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:3278:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3278 | for(int i = 0; i < reactionNames.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:3285:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3285 | for(int j = 0; j < floatingSpeciesNames.size(); j++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:3290:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3290 | for(int j = 0; j < boundarySpeciesNames.size(); j++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:3295:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3295 | for(int j = 0; j < globalParameterNames.size(); j++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:3300:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3300 | for(int j = 0; j < conservationNames.size(); j++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp: In function ‘rrc::ArrayList rrc::sel_getUnscaledElasticityCoefficientIds(rr::RoadRunner*)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:3322:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3322 | for(int i = 0; i < oReactions.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:3329:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3329 | for(int j = 0; j < oFloating.size(); j++) | ~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:3335:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3335 | for(int j = 0; j < oBoundary.size(); j++) | ~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:3341:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3341 | for(int j = 0; j < oGlobalParameters.size(); j++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:3347:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3347 | for(int j = 0; j < oConservation.size(); j++) | ~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp: In function ‘std::vector > rrc::sel_getFloatingSpeciesConcSymbols(rr::RoadRunner*)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:3375:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3375 | for(int i = 0; i < ids.size(); i++) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp: In function ‘std::vector > rrc::sel_getBoundarySpeciesConcSymbols(rr::RoadRunner*)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:3389:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3389 | for(int i = 0; i < ids.size(); i++) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp: In function ‘rrc::RRCData* rrc::gillespie(RRHandle)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:3415:26: warning: unused variable ‘o’ [-Wunused-variable] 3415 | SimulateOptions& o = r->getSimulateOptions(); | ^ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp: In function ‘rrc::RRCData* rrc::gillespieOnGrid(RRHandle)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:3436:26: warning: unused variable ‘o’ [-Wunused-variable] 3436 | SimulateOptions& o = r->getSimulateOptions(); | ^ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp: In function ‘rrc::RRCData* rrc::gillespieMeanOnGrid(RRHandle, int)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:3472:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 3472 | for (int row = 0; row < reference.RSize(); row++) { | ~~~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:3473:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 3473 | for (int col = 0; col < reference.CSize(); col++) { | ~~~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:3494:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3494 | for (int i = 0; i < selections.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp: In function ‘rrc::RRCData* rrc::gillespieMeanSDOnGrid(RRHandle, int)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:3540:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 3540 | for (int row = 0; row < reference.RSize(); row++) { | ~~~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:3541:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 3541 | for (int col = 0; col < reference.CSize(); col++) { | ~~~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:3565:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3565 | for (int i = 0; i < selections.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:56: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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/llvm13/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm13/include/llvm/PassSupport.h:29, from /usr/lib64/llvm13/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:25, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/ForwardSensitivitySolver.h:13: /usr/lib64/llvm13/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/llvm13/include/llvm/Transforms/InstCombine/InstCombineWorklist.h:120:22: required from here 120 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm13/include/llvm/ADT/DenseMap.h:128:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 128 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Dictionary.h:11, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunnerOptions.h:12, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunner.h:6, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:48: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:2399:45: required from here 2399 | return (int)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:2399:45: required from here 2399 | return (int)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:2399:45: required from here 2399 | return (int)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:2399:45: required from here 2399 | return (int)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:2399:45: required from here 2399 | return (int)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:2399:45: required from here 2399 | return (int)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:2399:45: required from here 2399 | return (int)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:2399:45: required from here 2399 | return (int)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:2399:45: required from here 2399 | return (int)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:2441:48: required from here 2441 | return (double)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:2441:48: required from here 2441 | return (double)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:2441:48: required from here 2441 | return (double)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:2441:48: required from here 2441 | return (double)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:2441:48: required from here 2441 | return (double)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:2441:48: required from here 2441 | return (double)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:2441:48: required from here 2441 | return (double)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:2441:48: required from here 2441 | return (double)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:2441:48: required from here 2441 | return (double)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:2487:46: required from here 2487 | return (bool)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:2487:46: required from here 2487 | return (bool)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:2487:46: required from here 2487 | return (bool)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:2487:46: required from here 2487 | return (bool)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:2487:46: required from here 2487 | return (bool)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:2487:46: required from here 2487 | return (bool)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:2487:46: required from here 2487 | return (bool)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:2487:46: required from here 2487 | return (bool)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:2487:46: required from here 2487 | return (bool)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h: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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:38: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions 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.9.2-build/libroadrunner-2.9.2/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp: At global scope: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:3179:16: warning: ‘std::vector > rrc::sel_getBoundarySpeciesConcIds(rr::RoadRunner*)’ defined but not used [-Wunused-function] 3179 | vector sel_getBoundarySpeciesConcIds(RoadRunner* rr) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/C/rrc_api.cpp:3166:16: warning: ‘std::vector > rrc::sel_getBoundarySpeciesAmountIds(rr::RoadRunner*)’ defined but not used [-Wunused-function] 3166 | vector sel_getBoundarySpeciesAmountIds(RoadRunner* rr) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [211/215] : && /usr/bin/cmake -E rm -f lib/libroadrunner_c_api-static.a && /usr/bin/ar qc lib/libroadrunner_c_api-static.a wrappers/C/CMakeFiles/roadrunner_c_api-static.dir/rrcStringList.cpp.o wrappers/C/CMakeFiles/roadrunner_c_api-static.dir/rrArrayList.cpp.o wrappers/C/CMakeFiles/roadrunner_c_api-static.dir/rrArrayListItem.cpp.o wrappers/C/CMakeFiles/roadrunner_c_api-static.dir/rrArrayListItemBase.cpp.o wrappers/C/CMakeFiles/roadrunner_c_api-static.dir/rrc_api.cpp.o wrappers/C/CMakeFiles/roadrunner_c_api-static.dir/rrc_logging_api.cpp.o wrappers/C/CMakeFiles/roadrunner_c_api-static.dir/rrc_nom_api.cpp.o wrappers/C/CMakeFiles/roadrunner_c_api-static.dir/rrc_libstruct_api.cpp.o wrappers/C/CMakeFiles/roadrunner_c_api-static.dir/rrc_utilities.cpp.o wrappers/C/CMakeFiles/roadrunner_c_api-static.dir/rrc_cpp_support.cpp.o && /usr/bin/ranlib lib/libroadrunner_c_api-static.a && : [212/215] : && /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,--dependency-file=source/CMakeFiles/roadrunner.dir/link.d -Wl,-soname,libroadrunner.so -o lib/libroadrunner.so source/CMakeFiles/roadrunner.dir/rrConfig.cpp.o source/CMakeFiles/roadrunner.dir/rrConstants.cpp.o source/CMakeFiles/roadrunner.dir/rrException.cpp.o source/CMakeFiles/roadrunner.dir/rrGetOptions.cpp.o source/CMakeFiles/roadrunner.dir/rrLogger.cpp.o source/CMakeFiles/roadrunner.dir/rrExecutableModel.cpp.o source/CMakeFiles/roadrunner.dir/rrRoadRunner.cpp.o source/CMakeFiles/roadrunner.dir/rrRoadRunnerOptions.cpp.o source/CMakeFiles/roadrunner.dir/rrStringUtils.cpp.o source/CMakeFiles/roadrunner.dir/rrUtils.cpp.o source/CMakeFiles/roadrunner.dir/Integrator.cpp.o source/CMakeFiles/roadrunner.dir/CVODEIntegrator.cpp.o source/CMakeFiles/roadrunner.dir/Dictionary.cpp.o source/CMakeFiles/roadrunner.dir/GillespieIntegrator.cpp.o source/CMakeFiles/roadrunner.dir/RK4Integrator.cpp.o source/CMakeFiles/roadrunner.dir/RK45Integrator.cpp.o source/CMakeFiles/roadrunner.dir/rrTestSuiteModelSimulation.cpp.o source/CMakeFiles/roadrunner.dir/rrIniKey.cpp.o source/CMakeFiles/roadrunner.dir/rrIniSection.cpp.o source/CMakeFiles/roadrunner.dir/rrIniFile.cpp.o source/CMakeFiles/roadrunner.dir/rrFileName.cpp.o source/CMakeFiles/roadrunner.dir/rrRoadRunnerData.cpp.o source/CMakeFiles/roadrunner.dir/rrSelectionRecord.cpp.o source/CMakeFiles/roadrunner.dir/ExecutableModelFactory.cpp.o source/CMakeFiles/roadrunner.dir/rrVersionInfo.cpp.o source/CMakeFiles/roadrunner.dir/rrSparse.cpp.o source/CMakeFiles/roadrunner.dir/rrSBMLModelSimulation.cpp.o source/CMakeFiles/roadrunner.dir/rrSBMLReader.cpp.o source/CMakeFiles/roadrunner.dir/SBMLValidator.cpp.o source/CMakeFiles/roadrunner.dir/SteadyStateSolver.cpp.o source/CMakeFiles/roadrunner.dir/Solver.cpp.o source/CMakeFiles/roadrunner.dir/Setting.cpp.o source/CMakeFiles/roadrunner.dir/ForwardSensitivitySolver.cpp.o source/CMakeFiles/roadrunner.dir/RegistrationFactory.cpp.o source/CMakeFiles/roadrunner.dir/SensitivitySolverFactory.cpp.o source/CMakeFiles/roadrunner.dir/SteadyStateSolverFactory.cpp.o source/CMakeFiles/roadrunner.dir/IntegratorFactory.cpp.o source/CMakeFiles/roadrunner.dir/KinsolSteadyStateSolver.cpp.o source/CMakeFiles/roadrunner.dir/FixedPointIteration.cpp.o source/CMakeFiles/roadrunner.dir/NewtonIteration.cpp.o source/CMakeFiles/roadrunner.dir/BasicNewtonIteration.cpp.o source/CMakeFiles/roadrunner.dir/LinesearchNewtonIteration.cpp.o source/CMakeFiles/roadrunner.dir/KinsolErrHandler.cpp.o source/CMakeFiles/roadrunner.dir/SVD.cpp.o source/CMakeFiles/roadrunner.dir/SteadyStateSolverDecorator.cpp.o source/CMakeFiles/roadrunner.dir/PresimulationDecorator.cpp.o source/CMakeFiles/roadrunner.dir/PresimulationProgramDecorator.cpp.o source/CMakeFiles/roadrunner.dir/ApproxSteadyStateDecorator.cpp.o source/CMakeFiles/roadrunner.dir/conservation/ConservationExtension.cpp.o source/CMakeFiles/roadrunner.dir/conservation/ConservationDocumentPlugin.cpp.o source/CMakeFiles/roadrunner.dir/conservation/ConservedMoietyPlugin.cpp.o source/CMakeFiles/roadrunner.dir/conservation/ConservedMoietyConverter.cpp.o source/CMakeFiles/roadrunner.dir/rrRoadRunnerMap.cpp.o source/CMakeFiles/roadrunner.dir/llvm/ASTNodeCodeGen.cpp.o source/CMakeFiles/roadrunner.dir/llvm/ASTNodeFactory.cpp.o source/CMakeFiles/roadrunner.dir/llvm/AssignmentRuleEvaluator.cpp.o source/CMakeFiles/roadrunner.dir/llvm/CodeGenBase.cpp.o source/CMakeFiles/roadrunner.dir/llvm/EvalConversionFactorCodeGen.cpp.o source/CMakeFiles/roadrunner.dir/llvm/EvalInitialConditionsCodeGen.cpp.o source/CMakeFiles/roadrunner.dir/llvm/EvalRateRuleRatesCodeGen.cpp.o source/CMakeFiles/roadrunner.dir/llvm/EvalReactionRatesCodeGen.cpp.o source/CMakeFiles/roadrunner.dir/llvm/EvalVolatileStoichCodeGen.cpp.o source/CMakeFiles/roadrunner.dir/llvm/EventAssignCodeGen.cpp.o source/CMakeFiles/roadrunner.dir/llvm/EventQueue.cpp.o source/CMakeFiles/roadrunner.dir/llvm/EventTriggerCodeGen.cpp.o source/CMakeFiles/roadrunner.dir/llvm/FunctionResolver.cpp.o source/CMakeFiles/roadrunner.dir/llvm/GetEventValuesCodeGen.cpp.o source/CMakeFiles/roadrunner.dir/llvm/GetInitialValuesCodeGen.cpp.o source/CMakeFiles/roadrunner.dir/llvm/GetPiecewiseTriggerCodeGen.cpp.o source/CMakeFiles/roadrunner.dir/llvm/GetValuesCodeGen.cpp.o source/CMakeFiles/roadrunner.dir/llvm/Jit.cpp.o source/CMakeFiles/roadrunner.dir/llvm/JitFactory.cpp.o source/CMakeFiles/roadrunner.dir/llvm/KineticLawParameterResolver.cpp.o source/CMakeFiles/roadrunner.dir/llvm/LLJit.cpp.o source/CMakeFiles/roadrunner.dir/llvm/LLVMCompiler.cpp.o source/CMakeFiles/roadrunner.dir/llvm/LLVMExecutableModel.cpp.o source/CMakeFiles/roadrunner.dir/llvm/LLVMModelData.cpp.o source/CMakeFiles/roadrunner.dir/llvm/LLVMModelDataSymbols.cpp.o source/CMakeFiles/roadrunner.dir/llvm/LLVMModelGenerator.cpp.o source/CMakeFiles/roadrunner.dir/llvm/LLVMModelSymbols.cpp.o source/CMakeFiles/roadrunner.dir/llvm/LoadSymbolResolverBase.cpp.o source/CMakeFiles/roadrunner.dir/llvm/MCJit.cpp.o source/CMakeFiles/roadrunner.dir/llvm/ModelDataIRBuilder.cpp.o source/CMakeFiles/roadrunner.dir/llvm/ModelDataSymbolResolver.cpp.o source/CMakeFiles/roadrunner.dir/llvm/ModelGeneratorContext.cpp.o source/CMakeFiles/roadrunner.dir/llvm/ModelInitialValueSymbolResolver.cpp.o source/CMakeFiles/roadrunner.dir/llvm/ModelResources.cpp.o source/CMakeFiles/roadrunner.dir/llvm/Random.cpp.o source/CMakeFiles/roadrunner.dir/llvm/SBMLInitialValueSymbolResolver.cpp.o source/CMakeFiles/roadrunner.dir/llvm/SBMLModelObjectCache.cpp.o source/CMakeFiles/roadrunner.dir/llvm/SBMLSupportFunctions.cpp.o source/CMakeFiles/roadrunner.dir/llvm/SetInitialValuesCodeGen.cpp.o source/CMakeFiles/roadrunner.dir/llvm/SetValuesCodeGen.cpp.o -Wl,-rpath,/usr/lib64/llvm13/lib::: -lpthread -ldl -lm /usr/lib64/llvm13/lib/libLLVM-13.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.1 /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.1 -lm -lgcc_s_asneeded -lgcc_s_asneeded && : [213/215] : && /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,--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/llvm13/lib::: lib/libroadrunner-static.a -lpthread -ldl -lm /usr/lib64/llvm13/lib/libLLVM-13.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.1 /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.1 -lm -lgcc_s_asneeded -lgcc_s_asneeded && : [214/215] /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.9.2-build/libroadrunner-2.9.2/wrappers/Python/roadrunner -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/Python/include -I/usr/lib64/llvm13/include -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/redhat-linux-build/source -I/usr/include/python3.14 -I/usr/lib64/python3.14/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.9.2-build/libroadrunner-2.9.2/redhat-linux-build/wrappers/Python/roadrunner/CMakeFiles/roadrunner_python.dir/roadrunnerPYTHON_wrap.cxx In file included from /usr/include/python3.14/pyconfig.h:6, from /usr/include/python3.14/Python.h:14, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/redhat-linux-build/wrappers/Python/roadrunner/CMakeFiles/roadrunner_python.dir/roadrunnerPYTHON_wrap.cxx:205: /usr/include/python3.14/pyconfig-64.h:2043:9: warning: ‘_XOPEN_SOURCE’ redefined 2043 | #define _XOPEN_SOURCE 700 | ^~~~~~~~~~~~~ : note: this is the location of the previous definition In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/KinsolSteadyStateSolver.h:14, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/redhat-linux-build/wrappers/Python/roadrunner/CMakeFiles/roadrunner_python.dir/roadrunnerPYTHON_wrap.cxx:4248: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/KinsolErrHandler.h:48:1: warning: multi-line comment [-Wcomment] 48 | //#define handleKinsolError(errCode) \ | ^ In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/Python/roadrunner/PyUtils.h:18, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Dictionary.h:18, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/ExecutableModelFactory.h:12, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/redhat-linux-build/wrappers/Python/roadrunner/CMakeFiles/roadrunner_python.dir/roadrunnerPYTHON_wrap.cxx:4217: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Matrix.h:39:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Matrix.h:39:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Matrix.h:45:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 45 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Matrix.h:45:32: note: remove the ‘< >’ In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Integrator.h:21, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/rrRoadRunnerOptions.h:13, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/redhat-linux-build/wrappers/Python/roadrunner/CMakeFiles/roadrunner_python.dir/roadrunnerPYTHON_wrap.cxx:4219: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/redhat-linux-build/wrappers/Python/roadrunner/CMakeFiles/roadrunner_python.dir/roadrunnerPYTHON_wrap.cxx:4262: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/redhat-linux-build/wrappers/Python/roadrunner/CMakeFiles/roadrunner_python.dir/roadrunnerPYTHON_wrap.cxx:4263: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/RK45Integrator.h:125:25: note: by ‘virtual rr::Setting rr::RK45Integrator::getValue(std::string)’ 125 | virtual Setting getValue(std::string key); | ^~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/redhat-linux-build/wrappers/Python/roadrunner/CMakeFiles/roadrunner_python.dir/roadrunnerPYTHON_wrap.cxx:4264: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/EulerIntegrator.h: In member function ‘virtual double rr::EulerIntegrator::integrate(double, double)’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/EulerIntegrator.h:151:37: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 151 | for (int k_ = 0; k_ < eventStatus.size(); ++k_) { | ~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/redhat-linux-build/wrappers/Python/roadrunner/CMakeFiles/roadrunner_python.dir/roadrunnerPYTHON_wrap.cxx:6235:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 6235 | for (int i = 0; i < strvec.size(); ++i) { | ~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/redhat-linux-build/wrappers/Python/roadrunner/CMakeFiles/roadrunner_python.dir/roadrunnerPYTHON_wrap.cxx:6237:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 6237 | if (i + 1 < strvec.size()) { | ~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/redhat-linux-build/wrappers/Python/roadrunner/CMakeFiles/roadrunner_python.dir/roadrunnerPYTHON_wrap.cxx:14774:7: warning: deleting object of polymorphic class type ‘rr::SimulateOptions’ which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 14774 | delete arg1; | ^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/redhat-linux-build/wrappers/Python/roadrunner/CMakeFiles/roadrunner_python.dir/roadrunnerPYTHON_wrap.cxx:27578:10: warning: unused variable ‘iscpx’ [-Wunused-variable] 27578 | bool iscpx = false; | ^~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/redhat-linux-build/wrappers/Python/roadrunner/CMakeFiles/roadrunner_python.dir/roadrunnerPYTHON_wrap.cxx:27637:10: warning: unused variable ‘iscpx’ [-Wunused-variable] 27637 | bool iscpx = false; | ^~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/redhat-linux-build/wrappers/Python/roadrunner/CMakeFiles/roadrunner_python.dir/roadrunnerPYTHON_wrap.cxx:33853:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 33853 | for (int i=0; i, rr::RoadRunner*> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 33897 | 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/llvm13/include/llvm/Transforms/InstCombine/InstCombineWorklist.h:120:22: required from here 120 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm13/include/llvm/ADT/DenseMap.h:128:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 128 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Dictionary.h:11: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/EulerIntegrator.h:112:42: required from here 112 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/EulerIntegrator.h:112:42: required from here 112 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/EulerIntegrator.h:112:42: required from here 112 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/EulerIntegrator.h:112:42: required from here 112 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/EulerIntegrator.h:112:42: required from here 112 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/EulerIntegrator.h:112:42: required from here 112 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/EulerIntegrator.h:112:42: required from here 112 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/EulerIntegrator.h:112:42: required from here 112 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/EulerIntegrator.h:112:42: required from here 112 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/wrappers/Python/roadrunner/PyUtils.h: At global scope: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:38: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of 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.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions 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.9.2-build/libroadrunner-2.9.2/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/redhat-linux-build/wrappers/Python/roadrunner/CMakeFiles/roadrunner_python.dir/roadrunnerPYTHON_wrap.cxx:6231:20: warning: ‘std::string strvec_to_pystring(const std::vector >&)’ defined but not used [-Wunused-function] 6231 | static std::string strvec_to_pystring(const std::vector& strvec) { | ^~~~~~~~~~~~~~~~~~ [215/215] : && /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,--dependency-file=wrappers/Python/roadrunner/CMakeFiles/roadrunner_python.dir/link.d -o lib/site-packages/roadrunner/_roadrunner.so wrappers/Python/roadrunner/CMakeFiles/roadrunner_python.dir/CMakeFiles/roadrunner_python.dir/roadrunnerPYTHON_wrap.cxx.o wrappers/Python/roadrunner/CMakeFiles/roadrunner_python.dir/PyUtils.cpp.o wrappers/Python/roadrunner/CMakeFiles/roadrunner_python.dir/PyLoggerStream.cpp.o -Wl,-rpath,/usr/lib64/llvm13/lib::: lib/libroadrunner-static.a /usr/lib64/libpython3.14.so /usr/lib64/llvm13/lib/libLLVM-13.so /usr/lib64/librr-libstruct.so.2.9.2 /usr/lib64/libsbml.so /usr/lib64/libz.a -llapack -lblas /usr/lib64/libsundials_nvecserial.a /usr/lib64/libsundials_nvecmanyvector.a /usr/lib64/libsundials_sunmatrixsparse.a /usr/lib64/libsundials_sunlinsolband.a /usr/lib64/libsundials_sunmatrixband.a /usr/lib64/libsundials_sunlinsoldense.a /usr/lib64/libsundials_sunmatrixdense.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/libsundials_core.a -lm /usr/lib64/libPocoNet.so.111 /usr/lib64/libPocoXML.so.111 /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.1 /usr/lib64/libexpat.so.1.12.1 -lm -lgcc_s_asneeded -lgcc_s_asneeded && cd /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/redhat-linux-build/wrappers/Python/roadrunner && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/redhat-linux-build/wrappers/Python/roadrunner/roadrunner.py /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/redhat-linux-build/lib/site-packages/roadrunner/roadrunner.py + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.b4RVCL + umask 022 + cd /builddir/build/BUILD/libroadrunner-2.9.2-build + '[' /builddir/build/BUILD/libroadrunner-2.9.2-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/libroadrunner-2.9.2-build/BUILDROOT ++ dirname /builddir/build/BUILD/libroadrunner-2.9.2-build/BUILDROOT + mkdir -p /builddir/build/BUILD/libroadrunner-2.9.2-build + mkdir /builddir/build/BUILD/libroadrunner-2.9.2-build/BUILDROOT + 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 libroadrunner-2.9.2 + b=redhat-linux-build + install -d /builddir/build/BUILD/libroadrunner-2.9.2-build/BUILDROOT/usr/lib64 /builddir/build/BUILD/libroadrunner-2.9.2-build/BUILDROOT/usr/lib64/python3.14/site-packages + cp -a redhat-linux-build/lib/libroadrunner.so /builddir/build/BUILD/libroadrunner-2.9.2-build/BUILDROOT/usr/lib64/ + cp -a redhat-linux-build/lib/libroadrunner_c_api.so /builddir/build/BUILD/libroadrunner-2.9.2-build/BUILDROOT/usr/lib64/ + cp -a redhat-linux-build/lib/site-packages/roadrunner /builddir/build/BUILD/libroadrunner-2.9.2-build/BUILDROOT/usr/lib64/python3.14/site-packages/ + install -d /builddir/build/BUILD/libroadrunner-2.9.2-build/BUILDROOT/usr/include/rr + cp -a source/ApproxSteadyStateDecorator.h source/BasicNewtonIteration.h source/CVODEIntegrator.h source/Dictionary.h source/DoxygenDocs.h source/EulerIntegrator.h source/ExecutableModelFactory.h source/FixedPointIteration.h source/ForwardSensitivitySolver.h source/GillespieIntegrator.h source/GitInfo.h source/Integrator.h source/IntegratorFactory.h source/KinsolErrHandler.h source/KinsolSteadyStateSolver.h source/LinesearchNewtonIteration.h source/Matrix.h source/Matrix3D.h source/NLEQ1Solver.h source/NLEQ2Solver.h source/NLEQSolver.h source/NewtonIteration.h source/PresimulationDecorator.h source/PresimulationProgramDecorator.h source/RK45Integrator.h source/RK4Integrator.h source/Registrable.h source/RegistrationFactory.h source/SBMLValidator.h source/SVD.h source/SensitivitySolver.h source/SensitivitySolverFactory.h source/Setting.h source/Solver.h source/SteadyStateSolver.h source/SteadyStateSolverDecorator.h source/SteadyStateSolverFactory.h source/_Variant.h source/msc_stdint.h source/rrCompiler.h source/rrConfig.h source/rrConfigure.h source/rrConstants.h source/rrException.h source/rrExecutableModel.h source/rrExporter.h source/rrFileName.h source/rrGetOptions.h source/rrIniFile.h source/rrIniKey.h source/rrIniSection.h source/rrLogger.h source/rrNLEQ1Interface.h source/rrNLEQ2Interface.h source/rrOSSpecifics.h source/rrRoadRunner.h source/rrRoadRunnerData.h source/rrRoadRunnerMap.h source/rrRoadRunnerOptions.h source/rrSBMLModelSimulation.h source/rrSBMLReader.h source/rrSelectionRecord.h source/rrSparse.h source/rrStringUtils.h source/rrTestSuiteModelSimulation.h source/rrUtils.h source/rr_pch.h source/setting_t.h /builddir/build/BUILD/libroadrunner-2.9.2-build/BUILDROOT/usr/include/rr/ + find /builddir/build/BUILD/libroadrunner-2.9.2-build/BUILDROOT -name '*.so' -o -name '*.so.*' + xargs -r chrpath --delete + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + COMPRESS='gzip -9 -n' + COMPRESS_EXT=.gz + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-rpm-in-distinfo + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j4 Bytecompiling .py files below /builddir/build/BUILD/libroadrunner-2.9.2-build/BUILDROOT/usr/lib64/python3.14 using python3.14 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/bin/add-det --brp -j4 /builddir/build/BUILD/libroadrunner-2.9.2-build/BUILDROOT /builddir/build/BUILD/libroadrunner-2.9.2-build/BUILDROOT/usr/lib64/python3.14/site-packages/roadrunner/__pycache__/__init__.cpython-314.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/libroadrunner-2.9.2-build/BUILDROOT/usr/lib64/python3.14/site-packages/roadrunner/__pycache__/roadrunner.cpython-314.opt-1.pyc: rewriting with normalized contents Scanned 9 directories and 77 files, processed 2 inodes, 2 modified (0 replaced + 2 rewritten), 0 unsupported format, 0 errors + /usr/bin/linkdupes --brp /builddir/build/BUILD/libroadrunner-2.9.2-build/BUILDROOT/usr Scanned 8 directories and 77 files, considered 77 files, read 0 files, linked 0 files, 0 errors sum of sizes of linked files: 0 bytes Reading /builddir/build/BUILD/libroadrunner-2.9.2-build/SPECPARTS/rpm-debuginfo.specpart Processing files: libroadrunner-2.9.2-2.fc44.x86_64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.H7ck5y + umask 022 + cd /builddir/build/BUILD/libroadrunner-2.9.2-build + cd libroadrunner-2.9.2 + LICENSEDIR=/builddir/build/BUILD/libroadrunner-2.9.2-build/BUILDROOT/usr/share/licenses/libroadrunner + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILD/libroadrunner-2.9.2-build/BUILDROOT/usr/share/licenses/libroadrunner + cp -pr /builddir/build/BUILD/libroadrunner-2.9.2-build/libroadrunner-2.9.2/LICENSE.txt /builddir/build/BUILD/libroadrunner-2.9.2-build/BUILDROOT/usr/share/licenses/libroadrunner + RPM_EC=0 ++ jobs -p + exit 0 Provides: bundled(parallel-hashmap) bundled(thread-pool) libroadrunner = 2.9.2-2.fc44 libroadrunner(x86-64) = 2.9.2-2.fc44 libroadrunner.so()(64bit) libroadrunner_c_api.so()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libLLVM-13.so()(64bit) libLLVM-13.so(LLVM_13)(64bit) libPocoFoundation.so.111()(64bit) libPocoNet.so.111()(64bit) libblas.so.3()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_ABI_DT_RELR)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.3.1)(64bit) libgcc_s.so.1(GCC_4.0.0)(64bit) liblapack.so.3()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) libm.so.6(GLIBC_2.23)(64bit) libm.so.6(GLIBC_2.29)(64bit) librr-libstruct.so.2()(64bit) libsbml.so.5()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.1)(64bit) libstdc++.so.6(CXXABI_1.3.15)(64bit) libstdc++.so.6(CXXABI_1.3.5)(64bit) libstdc++.so.6(CXXABI_1.3.8)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.14)(64bit) libstdc++.so.6(GLIBCXX_3.4.15)(64bit) libstdc++.so.6(GLIBCXX_3.4.17)(64bit) libstdc++.so.6(GLIBCXX_3.4.18)(64bit) libstdc++.so.6(GLIBCXX_3.4.20)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.22)(64bit) libstdc++.so.6(GLIBCXX_3.4.26)(64bit) libstdc++.so.6(GLIBCXX_3.4.29)(64bit) libstdc++.so.6(GLIBCXX_3.4.30)(64bit) libstdc++.so.6(GLIBCXX_3.4.32)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) rtld(GNU_HASH) Processing files: python3-roadrunner-2.9.2-2.fc44.x86_64 Provides: python-roadrunner = 2.9.2-2.fc44 python3-roadrunner = 2.9.2-2.fc44 python3-roadrunner(x86-64) = 2.9.2-2.fc44 python3.14-roadrunner = 2.9.2-2.fc44 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libLLVM-13.so()(64bit) libLLVM-13.so(LLVM_13)(64bit) libPocoFoundation.so.111()(64bit) libPocoNet.so.111()(64bit) libblas.so.3()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_ABI_DT_RELR)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.3.1)(64bit) libgcc_s.so.1(GCC_4.0.0)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) libm.so.6(GLIBC_2.23)(64bit) libm.so.6(GLIBC_2.29)(64bit) libpython3.14.so.1.0()(64bit) librr-libstruct.so.2()(64bit) libsbml.so.5()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.1)(64bit) libstdc++.so.6(CXXABI_1.3.15)(64bit) libstdc++.so.6(CXXABI_1.3.5)(64bit) libstdc++.so.6(CXXABI_1.3.8)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.14)(64bit) libstdc++.so.6(GLIBCXX_3.4.15)(64bit) libstdc++.so.6(GLIBCXX_3.4.17)(64bit) libstdc++.so.6(GLIBCXX_3.4.18)(64bit) libstdc++.so.6(GLIBCXX_3.4.20)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.22)(64bit) libstdc++.so.6(GLIBCXX_3.4.26)(64bit) libstdc++.so.6(GLIBCXX_3.4.29)(64bit) libstdc++.so.6(GLIBCXX_3.4.30)(64bit) libstdc++.so.6(GLIBCXX_3.4.32)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) python(abi) = 3.14 rtld(GNU_HASH) Processing files: libroadrunner-devel-2.9.2-2.fc44.x86_64 Provides: libroadrunner-devel = 2.9.2-2.fc44 libroadrunner-devel(x86-64) = 2.9.2-2.fc44 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILD/libroadrunner-2.9.2-build/BUILDROOT Wrote: /builddir/build/RPMS/libroadrunner-devel-2.9.2-2.fc44.x86_64.rpm Wrote: /builddir/build/RPMS/python3-roadrunner-2.9.2-2.fc44.x86_64.rpm Wrote: /builddir/build/RPMS/libroadrunner-2.9.2-2.fc44.x86_64.rpm Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.CFrmYj + umask 022 + cd /builddir/build/BUILD/libroadrunner-2.9.2-build + test -d /builddir/build/BUILD/libroadrunner-2.9.2-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/libroadrunner-2.9.2-build + rm -rf /builddir/build/BUILD/libroadrunner-2.9.2-build + RPM_EC=0 ++ jobs -p + exit 0 Finish: rpmbuild libroadrunner-2.9.2-2.fc44.src.rpm Finish: build phase for libroadrunner-2.9.2-2.fc44.src.rpm INFO: chroot_scan: 1 files copied to /var/lib/copr-rpmbuild/results/chroot_scan INFO: /var/lib/mock/fedora-44-x86_64-1782618466.663788/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 INFO: Done(/var/lib/copr-rpmbuild/results/libroadrunner-2.9.2-2.fc44.src.rpm) Config(child) 5 minutes 6 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 Finish: run Running RPMResults tool Package info: { "packages": [ { "name": "libroadrunner", "epoch": null, "version": "2.9.2", "release": "2.fc44", "arch": "x86_64" }, { "name": "libroadrunner", "epoch": null, "version": "2.9.2", "release": "2.fc44", "arch": "src" }, { "name": "libroadrunner-devel", "epoch": null, "version": "2.9.2", "release": "2.fc44", "arch": "x86_64" }, { "name": "python3-roadrunner", "epoch": null, "version": "2.9.2", "release": "2.fc44", "arch": "x86_64" } ] } RPMResults finished